#521C8D

Color Details

HEX
#521C8D
RGB
rgb(82, 28, 141)
HSL
hsl(269, 67%, 33%)
CMYK
cmyk(42%, 80%, 0%, 45%)
Best text on this color #FFFFFF (CR 11.00:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #521C8D swatch

Embed this swatch

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

Open image

About #521C8D

#521C8D converts to RGB(82, 28, 141) and HSL(269, 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).

#521C8D FAQs

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