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

This intense violet is moody and highly saturated, making it a powerful choice for dark mode UI backgrounds. Because it is so deep, white text provides excellent readability against this shade. The hex code for this color is #5d0d96. Avoid using it for fine details or small text where it might lose definition, as it works best as a primary, bold base.
Questions about #5d0d96
What is #5d0d96 in RGB, HSL and CMYK?
In RGB, #5d0d96 is rgb(93, 13, 150), in HSL hsl(275, 84%, 32%) and in CMYK 38%, 91%, 0%, 41%.
Is #5d0d96 suitable for small body text?
No, this intense violet lacks the necessary definition for small text or fine details because of its extreme saturation and deep tone. It performs significantly better as a bold, solid background where white or high-contrast light typography provides essential readability.
What color combinations work well with #5d0d96?
This moody shade pairs beautifully with cool gray or slate to balance its high saturation without competing for attention. If you need a more vibrant look, consider using soft gold or light cream accents to create a sophisticated, high-contrast palette.
Is #5d0d96 readable on white or black?
#5d0d96 has a 10.69:1 contrast ratio on white and 1.96: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.