#5B21B6 Hex Color

Moody, saturated violet with bold authority

Hex color #5b21b6 graphic
This dark, saturated violet projects authority and moody sophistication. Because of its intensity, #5b21b6 works best as a primary branding color or an accent to break up minimalist palettes. It pairs surprisingly well with muted gold or soft cream, which tones down its inherent chill. White text maintains excellent contrast against this hex code, making it a reliable choice for dark mode UI backgrounds.

Questions about #5b21b6

What is #5b21b6 in RGB, HSL and CMYK?
In RGB, #5b21b6 is rgb(91, 33, 182), in HSL hsl(263, 69%, 42%) and in CMYK 50%, 82%, 0%, 29%.
What colors pair best with #5b21b6?
#5b21b6 pairs best with muted gold or soft cream to balance its intense, chilly undertones. These lighter, warmer tones soften the dramatic impact, making the color approachable for UI design or accent work without losing its authoritative feel.
Is #5b21b6 a good choice for text backgrounds?
White or very pale, high-contrast text is highly readable against #5b21b6, making it an excellent choice for dark mode UI backgrounds. Avoid using dark text over this shade, as it will likely disappear due to the low brightness levels.
Is #5b21b6 readable on white or black?
#5b21b6 has a 8.98:1 contrast ratio on white and 2.33: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.