#5A52AC Hex Color

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

Hex color #5a52ac graphic
This cool, muted indigo carries a heavy, serious atmosphere perfect for moody UI designs. The hex code #5a52ac provides enough contrast for readable white body text, making it a reliable base for dark mode interfaces. Because it leans towards gray, this shade avoids feeling too neon. Pair it with soft gold accents to add a sophisticated warmth that keeps the palette grounded.

Questions about #5a52ac

What is #5a52ac in RGB, HSL and CMYK?
In RGB, #5a52ac is rgb(90, 82, 172), in HSL hsl(245, 35%, 50%) and in CMYK 48%, 52%, 0%, 33%. Browse more shades of purple with names and hex codes.
What colors pair naturally with #5a52ac?
Soft gold or warm beige accents provide the best balance for this cool indigo by introducing a grounded, sophisticated warmth. You can also pair #5a52ac with neutral slate or soft grays to maintain a clean, professional, and understated aesthetic.
Is #5a52ac readable on white or black?
#5a52ac has a 6.48:1 contrast ratio on white and 3.23: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.