#5A42B3 Hex Color

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

Hex color #5a42b3 graphic
#5a42b3 is a saturated, fairly dark purple with a cool violet bias and strong visual weight. Its vivid chroma brings energy and focus, while its lower lightness adds mystery and structure. The hex code #5a42b3 works well for calls to action, gaming accents, and moody luxury layouts. Use it as a supporting tone or accent; white text reaches about 7.3:1 contrast.

Questions about #5a42b3

What is #5a42b3 in RGB, HSL and CMYK?
In RGB, #5a42b3 is rgb(90, 66, 179), in HSL hsl(253, 46%, 48%) and in CMYK 50%, 63%, 0%, 30%.
What colors pair well with #5a42b3 in a design palette?
For a balanced palette, #5a42b3 pairs well with warm cream, muted gold, or charcoal, which soften its cool violet bias without competing with its saturation and give designers options for spacious backgrounds, luxury accents, or quieter supporting text.
Is #5a42b3 readable on white or black?
#5a42b3 has a 7.32:1 contrast ratio on white and 2.86: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.