#512259 Hex Color

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

Hex color #512259 graphic
Not a bright violet, #512259 is a dark, muted purple that leans cool and reads almost plum in low light. Its low saturation keeps it grounded, so it works best as a dominant base in dark mode or moody brand palettes. White text sits comfortably on top at about 12.2:1 contrast. Pair it with muted gold or dusty rose, or it can go flat.

Questions about #512259

What is #512259 in RGB, HSL and CMYK?
In RGB, #512259 is rgb(81, 34, 89), in HSL hsl(291, 45%, 24%) and in CMYK 9%, 62%, 0%, 65%.
What text color works best on #512259?
White text gives the clearest read, with about 12.2:1 contrast, well past the WCAG AA threshold for body copy. Black text falls far short, so keep dark type off this background.
What colors pair well with #512259?
Muted gold, dusty rose, and desaturated teal flatter this purple without competing with it. Avoid bright saturated hues, since they make its low saturation read muddy.
Is #512259 readable on white or black?
#512259 has a 12.18:1 contrast ratio on white and 1.72: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.