#510B37 Hex Color

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

Hex color #510b37 graphic
This dark, muted magenta carries a moody, serious intensity that works well for high-contrast backgrounds. Because it sits so deep on the spectrum, it creates excellent legibility for white text in dark mode interfaces. The hex code for this color is #510b37. Pair it with soft, dusty golds or muted creams to prevent the palette from feeling too heavy or closed in.

Questions about #510b37

What is #510b37 in RGB, HSL and CMYK?
In RGB, #510b37 is rgb(81, 11, 55), in HSL hsl(322, 76%, 18%) and in CMYK 0%, 86%, 32%, 68%. Browse more shades of pink with names and hex codes.
How can I use #510b37 effectively in a user interface?
Use #510b37 as an atmospheric background for sites requiring light text. It provides strong contrast, making it an excellent choice for dark mode interfaces where you need a serious, professional tone without the harshness of pure black.
What colors pair best with #510b37?
Pair this deep magenta with soft gold or creamy off-white to balance its heavy intensity. These lighter, warmer tones prevent the palette from feeling too enclosed and add a touch of elegance to the high-contrast base.
Is #510b37 readable on white or black?
#510b37 has a 14.45:1 contrast ratio on white and 1.45: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.