#5F236B Hex Color

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

Hex color #5f236b graphic
Reach for #5f236b when a design needs a dark purple that keeps its character instead of fading into black. This dim, muted violet works as a dominant background in dark mode and moody layouts, and white text on it hits about 10.8:1 contrast. Its gloomy undertones suit luxury and psychic branding. Pair it with warm gold rather than pale grays, which wash it out.

Questions about #5f236b

What is #5f236b in RGB, HSL and CMYK?
In RGB, #5f236b is rgb(95, 35, 107), in HSL hsl(290, 51%, 28%) and in CMYK 11%, 67%, 0%, 58%.
What colors pair well with #5f236b?
Warm golds, soft blush pinks, and deep teals all complement #5f236b without competing with its cool undertone. Keep lighter accents as small details, since pale grays and washed pastels can make the purple look muddy by comparison.
Is #5f236b readable on white or black?
#5f236b has a 10.82:1 contrast ratio on white and 1.93: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.