#5A2A55 Hex Color

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

Hex color #5a2a55 graphic
This muted, dim magenta carries a somber, serious weight. With its desaturated depth, #5a2a55 works best as a moody background or a subtle accent rather than a primary fill. It pairs beautifully with soft creams and muted golds to balance its inherent darkness. Because white text creates excellent contrast against this hex code, it is a practical choice for readable dark mode UI designs.

Questions about #5a2a55

What is #5a2a55 in RGB, HSL and CMYK?
In RGB, #5a2a55 is rgb(90, 42, 85), in HSL hsl(306, 36%, 26%) and in CMYK 0%, 53%, 6%, 65%. Browse more shades of purple with names and hex codes.
What colors pair well with #5a2a55?
Soft creams and muted golds provide the best balance for the darkness of #5a2a55. These lighter, warmer tones prevent the deep magenta from feeling too heavy or somber while adding a sophisticated, grounded aesthetic to your design palette.
How does #5a2a55 perform in user interface design?
This shade is an excellent choice for dark mode UI because white or off-white text stands out clearly against it. Its desaturated quality ensures that long-form reading remains comfortable while maintaining a serious and professional mood.
Is #5a2a55 readable on white or black?
#5a2a55 has a 11.06:1 contrast ratio on white and 1.89: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.