Color #1a1720
A muted very dark purple.
Conversions
#1a1720
rgb(26, 23, 32)
hsl(260, 16.4%, 10.8%)
hsv(260, 28.1%, 12.5%)
cmyk(18.8%, 28.1%, 0%, 87.5%)
lab(8.45, 3.91, -5.73)
lch(8.45, 6.94, 304.31)
oklch(21.2%, 0.018, 299.98)
hwb(260, 9%, 87.5%)
Harmony colors
Accessibility
White text reads better on this background (17.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#19191e · ΔE 3.6
Deuteranopia
#19191e · ΔE 3.6
Tritanopia
#1a1c1c · ΔE 7.9
Achromatopsia
#181818 · ΔE 6.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a1720;
bg-[#1a1720]
Related colors
Frequently asked questions
#1a1720 (#1a1720) is rgb(26, 23, 32) in RGB.
No, #1a1720 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #1a1720, or check how it holds up for accessibility.