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

#5a21a5 is a dark, saturated purple with a cool violet undertone and low lightness. Its weight brings mystery, seriousness, and spiritual depth to moody designs, luxury branding, gaming interfaces, and rich backgrounds. Use it as a dominant base with restrained brighter accents; white text has about 9.6:1 contrast, supporting readable small body text. The hex code is #5a21a5.
Questions about #5a21a5
What is #5a21a5 in RGB, HSL and CMYK?
In RGB, #5a21a5 is rgb(90, 33, 165), in HSL hsl(266, 67%, 39%) and in CMYK 45%, 80%, 0%, 35%. Browse more shades of purple with names and hex codes.
What colors pair well with #5a21a5?
#5a21a5 pairs well with muted gold, warm cream, and charcoal, which soften its cool depth while giving its strong saturation room to stand out without making the palette feel flat. Use brighter accents sparingly for a refined result.
Is #5a21a5 readable on white or black?
#5a21a5 has a 9.56:1 contrast ratio on white and 2.19: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.