Color #1b0017
A vivid, highly saturated very dark magenta.
Conversions
#1b0017
rgb(27, 0, 23)
hsl(308.9, 100%, 5.3%)
hsv(308.9, 100%, 10.6%)
cmyk(0%, 100%, 14.8%, 89.4%)
lab(2.66, 13.37, -7.36)
lch(2.66, 15.26, 331.17)
oklch(15.3%, 0.0681, 334.23)
hwb(308.9, 0%, 89.4%)
Harmony colors
Accessibility
White text reads better on this background (19.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#121213 · ΔE 14.1
Deuteranopia
#141512 · ΔE 17.6
Tritanopia
#1a0f0e · ΔE 10.7
Achromatopsia
#0a0a0a · ΔE 14.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b0017;
bg-[#1b0017]
Related colors
Frequently asked questions
#1b0017 (#1b0017) is rgb(27, 0, 23) in RGB.
No, #1b0017 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 #1b0017, or check how it holds up for accessibility.