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

#5d307f is a saturated, moody violet with dark, cool undertones. Because it balances depth with high contrast potential, it excels as a dominant background color in dark mode interfaces. Pair it with soft cream or light gray accents to prevent the space from feeling too heavy. The hex code for this shade is #5d307f, which maintains excellent legibility against white text.
Questions about #5d307f
What is #5d307f in RGB, HSL and CMYK?
In RGB, #5d307f is rgb(93, 48, 127), in HSL hsl(274, 45%, 34%) and in CMYK 27%, 62%, 0%, 50%.
What are the best colors to pair with #5d307f?
To balance the intensity of #5d307f, use cream or soft light grays to create a sophisticated, high-contrast look. These neutral tones prevent the deep violet from overwhelming your design while maintaining the readability and elegance required for modern interfaces.
Is #5d307f suitable for text on a white background?
This shade of violet provides strong contrast against white backgrounds, making it a reliable choice for readable text and UI elements. Always verify your specific font size and weight against accessibility guidelines, as thin text may require a darker shade for better legibility.
Is #5d307f readable on white or black?
#5d307f has a 9.56:1 contrast ratio on white and 2.19: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.