#5B51FD
Color Details
HEX
#5B51FD
RGB
rgb(91, 81, 253)
HSL
hsl(243, 98%, 65%)
CMYK
cmyk(64%, 68%, 0%, 1%)
Best text on this color
#FFFFFF (CR 5.20:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5B51FD
#5B51FD converts to RGB(91, 81, 253) and HSL(243, 98%, 65%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#5B51FD FAQs
What is the RGB value of #5B51FD?
RGB: 91, 81, 253. Copy as CSS:
rgb(91, 81, 253)
Is #5B51FD a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5B51FD?
Complement: #f4fd4e.
Does #5B51FD have good contrast on white or black?
On white: 5.20:1 (AA (normal text)).
On black: 4.04:1 (AA (large text)).