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

Not quite black, this deep purple carries a dusty violet undertone that only surfaces in low light. The hex code #1b161f works best as a dark mode background or base layer, where white text reaches about 17.8:1 contrast. Pair it with muted gold or dusty rose to keep the violet from reading flat.
Questions about #1b161f
What is #1b161f in RGB, HSL and CMYK?
In RGB, #1b161f is rgb(27, 22, 31), in HSL hsl(273, 17%, 10%) and in CMYK 13%, 29%, 0%, 88%.
What colors pair well with #1b161f?
Muted gold brings out the violet undertone, and dusty rose adds a soft contrast without washing it out. Skip bright saturated purples nearby, they make this shade read flat and muddy.
Does #1b161f work as a dark mode background?
Yes. White text on #1b161f reaches about 17.8:1 contrast, well above the 4.5:1 that WCAG AA requires for body text, so it supports small type comfortably.
Is #1b161f readable on white or black?
#1b161f has a 17.77:1 contrast ratio on white and 1.18: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.