#5B088E Hex Color

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

Hex color #5b088e graphic
This intense, saturated violet carries a heavy and serious weight. Because of its darkness, it works best as an accent color rather than a primary background to avoid muddying your interface. Pair it with soft cream or pale yellow to create a striking, readable contrast. The hex code for this moody shade is #5b088e, which offers excellent legibility with white text.

Questions about #5b088e

What is #5b088e in RGB, HSL and CMYK?
In RGB, #5b088e is rgb(91, 8, 142), in HSL hsl(277, 89%, 29%) and in CMYK 36%, 94%, 0%, 44%.
How should I use #5b088e in a UI design?
This deep violet carries significant visual weight, so it is most effective as an accent color for buttons or highlights rather than a primary background. Pair #5b088e with cream or pale yellow to soften its intensity and maintain readable, balanced contrast.
Is #5b088e readable on white or black?
#5b088e has a 11.22:1 contrast ratio on white and 1.87: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.