#521B51

Color Details

HEX
#521B51
RGB
rgb(82, 27, 81)
HSL
hsl(301, 50%, 21%)
CMYK
cmyk(0%, 67%, 1%, 68%)
Best text on this color #FFFFFF (CR 12.85:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #521B51 swatch

Embed this swatch

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

Open image

About #521B51

#521B51 converts to RGB(82, 27, 81) and HSL(301, 50%, 21%). 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).

#521B51 FAQs

What is the RGB value of #521B51?
RGB: 82, 27, 81. Copy as CSS: rgb(82, 27, 81)
Is #521B51 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #521B51?
Complement: #1b501c.
Does #521B51 have good contrast on white or black?
On white: 12.85:1 (AAA (normal text)). On black: 1.63:1 (Fails AA).