Color #1f0b26
A moderately saturated very dark purple.
Conversions
#1f0b26
rgb(31, 11, 38)
hsl(284.4, 55.1%, 9.6%)
hsv(284.4, 71.1%, 14.9%)
cmyk(18.4%, 71.1%, 0%, 85.1%)
lab(6.06, 15.73, -13.92)
lch(6.06, 21, 318.49)
oklch(19.6%, 0.0577, 316.54)
hwb(284.4, 4.3%, 85.1%)
Harmony colors
Accessibility
White text reads better on this background (18.52:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#181821 · ΔE 12.2
Deuteranopia
#191a20 · ΔE 14.3
Tritanopia
#1e1d1c · ΔE 17.5
Achromatopsia
#131313 · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f0b26;
bg-[#1f0b26]
Related colors
Frequently asked questions
#1f0b26 (#1f0b26) is rgb(31, 11, 38) in RGB.
No, #1f0b26 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 #1f0b26, or check how it holds up for accessibility.