#4E158C Hex Color

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

Hex color #4e158c graphic
#4e158c is a dense, saturated violet that carries a serious and mysterious tone. Because it is so dark, this shade works best as an accent color rather than a full page background. It offers excellent contrast for white text, ensuring readability in UI elements. Use the hex code #4e158c when you need a moody pop of color to anchor complex design systems.

Questions about #4e158c

What is #4e158c in RGB, HSL and CMYK?
In RGB, #4e158c is rgb(78, 21, 140), in HSL hsl(269, 74%, 32%) and in CMYK 44%, 85%, 0%, 45%.
How should I use #4e158c in UI design?
Use #4e158c sparingly as an accent color for call-to-action buttons or navigation highlights rather than a full page background. Because this violet is quite dark, ensure you pair it with clean white text to maintain high readability and accessibility standards for users.
What colors complement this shade of violet?
This dense violet pairs beautifully with high-contrast neutrals like crisp white or light gray to keep the design feeling grounded. For a bolder palette, consider using complementary yellow-toned accents to create visual tension without overwhelming the primary deep purple tone of your design.
Is #4e158c readable on white or black?
#4e158c has a 11.60:1 contrast ratio on white and 1.80: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.