#521C7E
Color Details
HEX
#521C7E
RGB
rgb(82, 28, 126)
HSL
hsl(273, 64%, 30%)
CMYK
cmyk(35%, 78%, 0%, 51%)
Best text on this color
#FFFFFF (CR 11.50:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #521C7E
#521C7E converts to RGB(82, 28, 126) and HSL(273, 64%, 30%). 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).
#521C7E FAQs
What is the RGB value of #521C7E?
RGB: 82, 28, 126. Copy as CSS:
rgb(82, 28, 126)
Is #521C7E a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #521C7E?
Complement: #487d1c.
Does #521C7E have good contrast on white or black?
On white: 11.50:1 (AAA (normal text)).
On black: 1.83:1 (Fails AA).