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

For a near-black background with a bit more character than plain black, the hex code #1e171e is a solid pick. This dark purple sits almost at black, with a muted violet undertone that keeps large surfaces from feeling flat. It works best as a dominant base in dark mode UIs, moody branding, or luxury layouts, and white text on it reaches about 17.6:1 contrast, well past WCAG AA for small body text.
Questions about #1e171e
What is #1e171e in RGB, HSL and CMYK?
In RGB, #1e171e is rgb(30, 23, 30), in HSL hsl(300, 13%, 10%) and in CMYK 0%, 23%, 0%, 88%.
What colors pair well with #1e171e?
Muted gold and dusty rose lift #1e171e without fighting its low saturation. Keep most of the palette dark and let one desaturated accent carry the contrast.
Is #1e171e readable on white or black?
#1e171e has a 17.55: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.