Color #1f0818
A moderately saturated very dark magenta.
Conversions
#1f0818
rgb(31, 8, 24)
hsl(318.3, 59%, 7.6%)
hsv(318.3, 74.2%, 12.2%)
cmyk(0%, 74.2%, 22.6%, 87.8%)
lab(4.8, 12.79, -4.94)
lch(4.8, 13.71, 338.88)
oklch(18.1%, 0.0476, 340.61)
hwb(318.3, 3.1%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (18.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171715 · ΔE 15.4
Deuteranopia
#191a14 · ΔE 19.2
Tritanopia
#1e1212 · ΔE 8.2
Achromatopsia
#101010 · ΔE 13.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f0818;
bg-[#1f0818]
Related colors
Frequently asked questions
#1f0818 (#1f0818) is rgb(31, 8, 24) in RGB.
No, #1f0818 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 #1f0818, or check how it holds up for accessibility.