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

Dim and ashy, this dark purple sits almost grey on screen. Its hex code is #1f1822. The muted depth makes it a strong dominant base for dark mode UIs and moody brand palettes, where white text reaches a 17.3:1 contrast ratio. Pair it with dusty rose or muted plum to bring out the violet undertone.
Questions about #1f1822
What is #1f1822 in RGB, HSL and CMYK?
In RGB, #1f1822 is rgb(31, 24, 34), in HSL hsl(282, 17%, 11%) and in CMYK 9%, 29%, 0%, 87%.
What colors pair well with #1f1822?
Dusty rose, muted plum, and antique gold all flatter #1f1822 by warming up its greyed violet base. For sharper contrast, try pale lavender or a soft cream in small accents.
Is #1f1822 readable on white or black?
#1f1822 has a 17.32:1 contrast ratio on white and 1.21: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.