#31194F Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This deep, desaturated violet creates a somber mood for dark UI designs. Serving as a grounded background color, the hex code #31194f offers high readability for white text with a 15.2:1 contrast ratio. Designers often use this shade instead of plain black to introduce subtle mystery. It pairs effectively with soft gold accents to create a premium, balanced aesthetic for luxury branding.
Questions about #31194f
What is #31194f in RGB, HSL and CMYK?
In RGB, #31194f is rgb(49, 25, 79), in HSL hsl(267, 52%, 20%) and in CMYK 38%, 68%, 0%, 69%.
What colors pair best with the deep violet of #31194f?
This violet works best with soft gold or warm neutrals to create a premium, balanced aesthetic. Using gold accents creates a luxurious contrast, while lighter grays help anchor the darkness of the shade without overwhelming your interface design.
Is #31194f a good choice for text-heavy dark mode interfaces?
Yes, #31194f is an excellent choice for dark mode because it maintains a high 15.2:1 contrast ratio against white text. It provides a more sophisticated, readable alternative to pure black backgrounds while reducing eye strain for long-form reading.
Is #31194f readable on white or black?
#31194f has a 15.18:1 contrast ratio on white and 1.38: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.