Color #1d072a
A vivid, highly saturated very dark purple.
Conversions
#1d072a
rgb(29, 7, 42)
hsl(277.7, 71.4%, 9.6%)
hsv(277.7, 83.3%, 16.5%)
cmyk(31%, 83.3%, 0%, 83.5%)
lab(5.24, 18.02, -18.25)
lch(5.24, 25.65, 314.64)
oklch(18.8%, 0.0702, 310.38)
hwb(277.7, 2.7%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (18.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#161624 · ΔE 11.3
Deuteranopia
#171823 · ΔE 13.2
Tritanopia
#1c1f1e · ΔE 20.1
Achromatopsia
#111111 · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1d072a;
bg-[#1d072a]
Related colors
Frequently asked questions
#1d072a (#1d072a) is rgb(29, 7, 42) in RGB.
No, #1d072a 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 #1d072a, or check how it holds up for accessibility.