#5E3A9B Hex Color

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

Hex color #5e3a9b graphic
This cool, saturated violet commands attention with its dark, serious presence. #5e3a9b works best as a primary brand color or a striking UI accent rather than a full background, where its intensity can overwhelm. Because white text creates an excellent 8.2:1 contrast ratio, this hex code is highly effective for accessible, readable typography in dark-themed interfaces. Use it sparingly to inject mystery into your design.

Questions about #5e3a9b

What is #5e3a9b in RGB, HSL and CMYK?
In RGB, #5e3a9b is rgb(94, 58, 155), in HSL hsl(262, 46%, 42%) and in CMYK 39%, 63%, 0%, 39%. Browse more shades of purple with names and hex codes.
What colors pair well with #5e3a9b?
Pair this violet with neutral tones like light gray or soft whites to let the intensity of the color stand out without overwhelming the viewer. For a more sophisticated palette, accent it with muted gold or a pale mint green to create a striking, high-contrast look.
Is #5e3a9b readable on white or black?
#5e3a9b has a 8.22:1 contrast ratio on white and 2.55: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.