#1A171D Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #1a171d graphic
A shade past charcoal, #1a171d is a dim, ashy purple that reads more black than violet. Its hex code makes a strong dominant base for dark mode interfaces and moody branding, with white text reaching about 17.7:1 contrast. Watch large areas, they can go flat without a warmer accent.

Questions about #1a171d

What is #1a171d in RGB, HSL and CMYK?
In RGB, #1a171d is rgb(26, 23, 29), in HSL hsl(270, 12%, 10%) and in CMYK 10%, 21%, 0%, 89%. Browse more shades of black with names and hex codes.
What colors pair well with #1a171d?
Muted gold, dusty rose, and soft lavender all lift #1a171d without fighting its low saturation. For text, white gives the strongest contrast at about 17.7:1.
Is #1a171d readable on white or black?
#1a171d has a 17.73: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.