#511840 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #511840 graphic
Not a bright magenta and not a plain plum, #511840 is a dark, muted shade with wine-red depth. Its low lightness makes it a solid dark mode background, where white text hits about 13.5:1 contrast. Large flat areas can read muddy, so lift it with lighter tints or warm gold. The hex code for this magenta shade is #511840.

Questions about #511840

What is #511840 in RGB, HSL and CMYK?
In RGB, #511840 is rgb(81, 24, 64), in HSL hsl(318, 54%, 21%) and in CMYK 0%, 70%, 21%, 68%.
What colors pair well with #511840?
Warm gold and dusty rose both flatter #511840, since their warmth keeps the shade from reading flat. For sharper contrast, try a pale peach or soft cream.
Is #511840 readable on white or black?
#511840 has a 13.50:1 contrast ratio on white and 1.55:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.