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

Rich purple with cool violet undertones, #5e40a3 is saturated enough to bring energy and focus without looking neon. It works well as a small accent for calls to action, branding, or dark interfaces, especially beside warm cream or muted gold. White text reads clearly on this shade, making the hex code #5e40a3 practical for accessible UI elements.
Questions about #5e40a3
What is #5e40a3 in RGB, HSL and CMYK?
In RGB, #5e40a3 is rgb(94, 64, 163), in HSL hsl(258, 44%, 45%) and in CMYK 42%, 61%, 0%, 36%. Browse more shades of purple with names and hex codes.
What colors pair well with #5e40a3?
Warm cream and muted gold balance #5e40a3 by softening its cool violet cast, while charcoal supports a deeper, restrained palette; use white for high-contrast text and reserve gold for small accents.
Is #5e40a3 readable on white or black?
#5e40a3 has a 7.66:1 contrast ratio on white and 2.73: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.