#5D1D72 Hex Color

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

Hex color #5d1d72 graphic
This dark, moody purple carries significant weight, perfect for creating depth in UI designs or branding. The hex code #5d1d72 works best as an accent rather than a primary background to avoid an overly gloomy feel. It pairs surprisingly well with muted gold or soft cream, which helps lift the colorโ€™s inherent seriousness. White text provides excellent contrast against this shade for readable, professional layouts.

Questions about #5d1d72

What is #5d1d72 in RGB, HSL and CMYK?
In RGB, #5d1d72 is rgb(93, 29, 114), in HSL hsl(285, 59%, 28%) and in CMYK 18%, 75%, 0%, 55%. Browse more shades of purple with names and hex codes.
What colors pair well with #5d1d72 for a professional design?
This dark purple pairs effectively with soft cream or muted metallic golds to balance its inherent intensity. Using a neutral like charcoal or stark white for text ensures high readability against the deep background while keeping the layout clean and professional.
Is #5d1d72 suitable for a primary website background?
While #5d1d72 works for dark mode aesthetics, it is best utilized as a bold accent or in specific UI sections rather than a full page background. Using it too extensively can make designs feel overly gloomy, so pair it with lighter colors to maintain visual breathing room.
Is #5d1d72 readable on white or black?
#5d1d72 has a 11.14:1 contrast ratio on white and 1.88: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.