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

Dark and muted, #5a1d48 is a deep magenta with restrained red-purple undertones and a dusky, serious mood. The hex code works well as a supporting tone in fashion, cosmetics, nightlife, or intimate branding, where it adds mystery without bright saturation. White text reads clearly against it, making the shade practical for dark interfaces and bold headings.
Questions about #5a1d48
What is #5a1d48 in RGB, HSL and CMYK?
In RGB, #5a1d48 is rgb(90, 29, 72), in HSL hsl(318, 51%, 23%) and in CMYK 0%, 68%, 20%, 65%.
What colors pair well with #5a1d48 in a design palette?
Is #5a1d48 suitable for text and backgrounds?
Yes, #5a1d48 provides strong contrast with white text at about 12.3:1, exceeding the WCAG AA 4.5:1 threshold for body text across standard web content sizes and common interface states when the text is rendered normally. Test lighter tints separately, since they may need dark text.
Is #5a1d48 readable on white or black?
#5a1d48 has a 12.32:1 contrast ratio on white and 1.70: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.