#512D80 Hex Color

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

Hex color #512d80 graphic
This saturated, deep purple carries a serious, moody tone. Because it is dark, white text offers excellent legibility at a 10.3:1 contrast ratio, making it a reliable choice for dark mode UI backgrounds. Pair #512d80 with soft metallics or pale grays to prevent the composition from feeling too heavy. The hex code for this violet shade is #512d80.

Questions about #512d80

What is #512d80 in RGB, HSL and CMYK?
In RGB, #512d80 is rgb(81, 45, 128), in HSL hsl(266, 48%, 34%) and in CMYK 37%, 65%, 0%, 50%. Browse more shades of purple with names and hex codes.
What colors pair best with #512d80?
Use #512d80 alongside soft metallics or pale grays to prevent your design from feeling too heavy. This deep, saturated violet also balances well when paired with a clean off-white or a muted cream for a sophisticated, high-contrast aesthetic that maintains readability.
Is #512d80 readable on white or black?
#512d80 has a 10.30:1 contrast ratio on white and 2.03: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.