Color #1e171c
A nearly neutral, gray-leaning very dark magenta.
Conversions
#1e171c
rgb(30, 23, 28)
hsl(317.1, 13.2%, 10.4%)
hsv(317.1, 23.3%, 11.8%)
cmyk(0%, 23.3%, 6.7%, 88.2%)
lab(8.76, 4.68, -2.19)
lch(8.76, 5.17, 334.92)
oklch(21.5%, 0.0145, 336.44)
hwb(317.1, 9%, 88.2%)
Harmony colors
Accessibility
White text reads better on this background (17.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1b1b1b · ΔE 6.3
Deuteranopia
#1c1c1b · ΔE 7.1
Tritanopia
#1e1a1a · ΔE 4.2
Achromatopsia
#191919 · ΔE 6.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1e171c;
bg-[#1e171c]
Related colors
Frequently asked questions
#1e171c (#1e171c) is rgb(30, 23, 28) in RGB.
No, #1e171c 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 #1e171c, or check how it holds up for accessibility.