Color #1b1118
A muted very dark magenta.
Conversions
#1b1118
rgb(27, 17, 24)
hsl(318, 22.7%, 8.6%)
hsv(318, 37%, 10.6%)
cmyk(0%, 37%, 11.1%, 89.4%)
lab(6.32, 6.23, -2.77)
lch(6.32, 6.82, 336.03)
oklch(19.4%, 0.0211, 337.69)
hwb(318, 6.7%, 89.4%)
Harmony colors
Accessibility
White text reads better on this background (18.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171716 · ΔE 8.8
Deuteranopia
#181816 · ΔE 9.5
Tritanopia
#1b1515 · ΔE 5
Achromatopsia
#141414 · ΔE 8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b1118;
bg-[#1b1118]
Related colors
Frequently asked questions
#1b1118 (#1b1118) is rgb(27, 17, 24) in RGB.
No, #1b1118 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 #1b1118, or check how it holds up for accessibility.