#31006E Hex Color
Deep regal violet with moody intensity

This intense violet is dark and saturated, reading as a near-black in low-light conditions. Because it is so deep, #31006e works best as a moody background color for digital interfaces. Pair it with soft cream or pastel yellow to balance the heavy tone. White text offers excellent contrast for readability, making this hex code a practical choice for dark mode UI designs.
Questions about #31006e
What is #31006e in RGB, HSL and CMYK?
In RGB, #31006e is rgb(49, 0, 110), in HSL hsl(267, 100%, 22%) and in CMYK 55%, 100%, 0%, 57%.
How should I use #31006e in UI design?
Use #31006e as a sophisticated, near-black foundation for dark mode interfaces to establish visual depth. It performs best when paired with high-contrast text colors like cream or soft yellow to ensure readability without straining the user's eyes.
Does #31006e have warm or cool undertones?
This deep violet reads primarily cool due to its intense blue-purple base, though its darkness gives it a neutral, grounded feeling. Because it is so saturated, it acts as a more dynamic alternative to standard black or charcoal backgrounds.
Is #31006e readable on white or black?
#31006e has a 15.48:1 contrast ratio on white and 1.35: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.