#5A34D5 Hex Color

Electric indigo with mysterious depth

Hex color #5a34d5 graphic
Richly saturated and cool, #5a34d5 is a strong indigo-purple with blue undertones and a dark, energetic presence. It brings intensity and mystery to creative branding, gaming interfaces, spiritual themes, and calls to action. Use it as a focused accent or dark UI field; white text remains highly legible. The hex code for this color is #5a34d5.

Questions about #5a34d5

What is #5a34d5 in RGB, HSL and CMYK?
In RGB, #5a34d5 is rgb(90, 52, 213), in HSL hsl(254, 66%, 52%) and in CMYK 58%, 76%, 0%, 16%.
How does #5a34d5 perform with white and black text?
Yes, white text has excellent contrast on #5a34d5, at roughly 11.6:1, making it suitable for buttons, headings, and dark UI surfaces; black text has a much weaker ratio and generally fails accessibility thresholds.
Which colors pair well with #5a34d5?
The yellow-green complement creates lively contrast with #5a34d5, while charcoal or soft white offers calmer support for layouts that need structure without competing with its saturated indigo-purple presence on screen.
Is #5a34d5 a warm or cool color?
#5a34d5 is a cool color because its blue undertones outweigh its red component, giving the saturated indigo-purple a crisp, deep feel rather than a warm violet appearance. Use it when you want energy with a controlled, mysterious mood.
Where does #5a34d5 work best in a design?
#5a34d5 works best as a focused accent, primary button, heading color, or dark UI field, where its high saturation adds energy without overwhelming the surrounding layout or compromising text readability.
Is #5a34d5 readable on white or black?
#5a34d5 has a 7.27:1 contrast ratio on white and 2.88: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.