#312140 Hex Color
Serious muted violet for elegant dark interfaces

This dark, muted violet carries a serious and mysterious presence. With its low saturation, #312140 functions best as a grounding base for dark mode interfaces or moody, high-end branding. It offers excellent contrast for white text, ensuring readability in dense layouts. Pair this hex code with soft grays or copper accents to balance its heavy, cool tone without overpowering your design.
Questions about #312140
What is #312140 in RGB, HSL and CMYK?
In RGB, #312140 is rgb(49, 33, 64), in HSL hsl(271, 32%, 19%) and in CMYK 23%, 48%, 0%, 75%.
What colors pair best with #312140?
The heavy, cool tone of #312140 works exceptionally well with metallic copper or warm metallics, as the contrast prevents the design from feeling too sterile. For neutrals, clean whites or soft, light grays ensure high readability and provide a balanced, sophisticated aesthetic for your layout.
Is #312140 suitable for text-heavy interfaces?
Yes, #312140 functions effectively as a background color for dark mode interfaces because it maintains a high contrast ratio against white or light-toned text. Its low saturation keeps the design feeling calm rather than distracting, which is critical for long-form reading environments.
Is #312140 readable on white or black?
#312140 has a 14.76:1 contrast ratio on white and 1.42: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.