#5F05CC
Color Details
HEX
#5F05CC
RGB
rgb(95, 5, 204)
HSL
hsl(267, 95%, 41%)
CMYK
cmyk(53%, 98%, 0%, 20%)
Best text on this color
#FFFFFF (CR 8.82:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5F05CC
#5F05CC converts to RGB(95, 5, 204) and HSL(267, 95%, 41%). 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).
#5F05CC FAQs
What is the RGB value of #5F05CC?
RGB: 95, 5, 204. Copy as CSS:
rgb(95, 5, 204)
Is #5F05CC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5F05CC?
Complement: #72cc05.
Does #5F05CC have good contrast on white or black?
On white: 8.82:1 (AAA (normal text)).
On black: 2.38:1 (Fails AA).