#521C8E

Color Details

HEX
#521C8E
RGB
rgb(82, 28, 142)
HSL
hsl(268, 67%, 33%)
CMYK
cmyk(42%, 80%, 0%, 44%)
Best text on this color #FFFFFF (CR 10.96:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #521C8E swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #521C8E

#521C8E converts to RGB(82, 28, 142) and HSL(268, 67%, 33%). 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).

#521C8E FAQs

What is the RGB value of #521C8E?
RGB: 82, 28, 142. Copy as CSS: rgb(82, 28, 142)
Is #521C8E a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #521C8E?
Complement: #588d1c.
Does #521C8E have good contrast on white or black?
On white: 10.96:1 (AAA (normal text)). On black: 1.92:1 (Fails AA).