Color #1a0d21
A moderately saturated very dark purple.
Conversions
#1a0d21
rgb(26, 13, 33)
hsl(279, 43.5%, 9%)
hsv(279, 60.6%, 12.9%)
cmyk(21.2%, 60.6%, 0%, 87.1%)
lab(5.58, 10.56, -10.89)
lch(5.58, 15.17, 314.12)
oklch(18.8%, 0.0432, 312.75)
hwb(279, 5.1%, 87.1%)
Harmony colors
Accessibility
White text reads better on this background (18.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#15151d · ΔE 9
Deuteranopia
#16171c · ΔE 11.1
Tritanopia
#191a19 · ΔE 14.7
Achromatopsia
#121212 · ΔE 13.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1a0d21;
bg-[#1a0d21]
Related colors
Frequently asked questions
#1a0d21 (#1a0d21) is rgb(26, 13, 33) in RGB.
No, #1a0d21 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 #1a0d21, or check how it holds up for accessibility.