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

An inky, desaturated purple, #1a182c functions as a near-black base for moody designs. Its extreme darkness makes it an excellent choice for dark mode interfaces, as white text remains highly legible against its depth. Use this hex code as a dominant background to ground a palette. Because it absorbs light, avoid pairing it with other dark shades that might cause the composition to look muddy.
Questions about #1a182c
What is #1a182c in RGB, HSL and CMYK?
In RGB, #1a182c is rgb(26, 24, 44), in HSL hsl(246, 29%, 13%) and in CMYK 41%, 45%, 0%, 83%. Browse more shades of black with names and hex codes.
Does #1a182c function well as a replacement for black?
#1a182c works effectively as a softer alternative to standard black because its subtle purple undertones prevent the harshness often found in pure black. This makes it ideal for reducing eye strain in dark mode interfaces while maintaining strong visual depth.
What colors pair well with #1a182c in a design palette?
This deep shade pairs best with high-contrast, bright accents like crisp white for text or muted, dusty gold for sophisticated highlights. Avoid pairing it with other dark, muddy colors to ensure your design elements remain distinct and legible against the background.
Is #1a182c readable on white or black?
#1a182c has a 17.34: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.