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

This intense violet carries a heavy, serious weight that demands attention in any layout. Its deep saturation works well as a bold primary base, though it can feel overwhelming if used in excess. Pair it with soft cream or muted gold to balance its striking gloom. The hex code for this moody shade is #5b028e, which offers excellent contrast against white text for readable interface designs.
Questions about #5b028e
What is #5b028e in RGB, HSL and CMYK?
In RGB, #5b028e is rgb(91, 2, 142), in HSL hsl(278, 97%, 28%) and in CMYK 36%, 99%, 0%, 44%.
How can I balance the intensity of #5b028e in my design?
Use #5b028e sparingly as an accent or primary button color, pairing it with soft neutrals like cream or muted golds to ground its aggressive saturation. This prevents the deep violet from feeling too overwhelming on white backgrounds.
Is #5b028e readable on white or black?
#5b028e has a 11.38:1 contrast ratio on white and 1.84: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.