#5B18B1 Hex Color

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

Hex color #5b18b1 graphic
This dark, saturated violet possesses a commanding intensity that feels inherently moody. Because #5b18b1 is quite bold, use it as an accent rather than a primary background to avoid overwhelming the eye. It pairs surprisingly well with neon greens or soft creams for modern interface designs. The hex code for this deep shade is #5b18b1, which offers excellent readability when paired with white text.

Questions about #5b18b1

What is #5b18b1 in RGB, HSL and CMYK?
In RGB, #5b18b1 is rgb(91, 24, 177), in HSL hsl(266, 76%, 39%) and in CMYK 49%, 86%, 0%, 31%. Browse more shades of purple with names and hex codes.
What colors pair well with #5b18b1?
High-contrast pairings work best for #5b18b1 to highlight its intense saturation. It creates a modern, electric aesthetic when paired with neon green or lime, while soft cream or off-white tones help ground the boldness for balanced user interfaces.
Is #5b18b1 suitable for text on a white background?
Yes, #5b18b1 provides excellent legibility against white or light backgrounds because of its significant darkness. It functions effectively as a primary brand color for headings or icons, though it may be too heavy for smaller, dense body text blocks.
Is #5b18b1 readable on white or black?
#5b18b1 has a 9.50:1 contrast ratio on white and 2.21: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.