Color #0d0311
A vivid, highly saturated very dark purple.
Conversions
#0d0311
rgb(13, 3, 17)
hsl(282.9, 70%, 3.9%)
hsv(282.9, 82.4%, 6.7%)
cmyk(23.5%, 82.4%, 0%, 93.3%)
lab(1.73, 4.83, -4.91)
lch(1.73, 6.89, 314.53)
oklch(12.9%, 0.0392, 317.27)
hwb(282.9, 1.2%, 93.3%)
Harmony colors
Accessibility
White text reads better on this background (20.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#09090e · ΔE 5.5
Deuteranopia
#090a0d · ΔE 6.5
Tritanopia
#0d0c0b · ΔE 7.5
Achromatopsia
#060606 · ΔE 7.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0d0311;
bg-[#0d0311]
Related colors
Frequently asked questions
#0d0311 (#0d0311) is rgb(13, 3, 17) in RGB.
No, #0d0311 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 #0d0311, or check how it holds up for accessibility.