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

This dark, moody purple carries an air of mystery and serious intent. It works well for gaming interfaces or luxurious branding that needs a cooler, more grounded presence. Designers often pick this shade for its ability to create contrast without being too aggressive. The hex code for this color is #5a398a.
Questions about #5a398a
What is #5a398a in RGB, HSL and CMYK?
In RGB, #5a398a is rgb(90, 57, 138), in HSL hsl(264, 42%, 38%) and in CMYK 35%, 59%, 0%, 46%.
Is #5a398a readable on white or black?
#5a398a has a 8.79:1 contrast ratio on white and 2.38: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.