#5F3495 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#5f3495 is a deep, moody violet with enough saturation to feel serious without becoming muddy. Because this dark tone maintains strong visual weight, it works best as a dominant base for branding or high-contrast UI backgrounds. Pair it with soft cream or crisp white text to ensure readability, as white provides the best accessibility contrast. Designers often rely on this hex code to establish a sense of mystery or luxury.
Questions about #5f3495
What is #5f3495 in RGB, HSL and CMYK?
In RGB, #5f3495 is rgb(95, 52, 149), in HSL hsl(267, 48%, 39%) and in CMYK 36%, 65%, 0%, 42%. Browse more shades of purple with names and hex codes.
Which color combinations work best with #5f3495?
Because #5f3495 is a dark and saturated violet, it pairs best with lighter, neutral tones to maintain strong readability. You should use a crisp white or a warm cream for text to ensure high accessibility contrast against this dark base.
Is #5f3495 considered a warm or cool color?
This color sits on the cool side of the spectrum, leaning into blue-violet territory rather than red-violet. It carries a heavy, serious mood that avoids the playfulness of lighter purples, making it ideal for professional designs needing depth and mystery.
Is #5f3495 readable on white or black?
#5f3495 has a 8.70:1 contrast ratio on white and 2.41: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.