#1F1331 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This extremely dark, desaturated violet creates a somber, almost black foundation for moody digital interfaces. Because it is so low in chroma, the hex code #1f1331 works well as a modern alternative to pure black. Pair it with soft cream or muted gold text to maintain readability while keeping a sophisticated, serious aesthetic. It serves best as a dominant background color in dark mode design systems.
Questions about #1f1331
What is #1f1331 in RGB, HSL and CMYK?
In RGB, #1f1331 is rgb(31, 19, 49), in HSL hsl(264, 44%, 13%) and in CMYK 37%, 61%, 0%, 81%.
What makes #1f1331 a good alternative to pure black?
Using #1f1331 offers a softer, more sophisticated appearance than standard black. Its subtle violet undertone adds depth to dark mode backgrounds without feeling harsh, making it ideal for professional interfaces that require readability alongside a high-end, premium aesthetic.
Which colors pair effectively with #1f1331?
High-contrast text works best with #1f1331, particularly soft creams or muted golds. These lighter, desaturated tones stand out clearly against the deep violet base, ensuring better accessibility while maintaining a cohesive and elegant visual hierarchy throughout your design projects.
Is #1f1331 readable on white or black?
#1f1331 has a 17.56:1 contrast ratio on white and 1.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.