Color #180c1c
A moderately saturated very dark purple.
Conversions
#180c1c
rgb(24, 12, 28)
hsl(285, 40%, 7.8%)
hsv(285, 57.1%, 11%)
cmyk(14.3%, 57.1%, 0%, 89%)
lab(4.89, 8.34, -8.06)
lch(4.89, 11.6, 315.98)
oklch(18%, 0.0364, 317.34)
hwb(285, 4.7%, 89%)
Harmony colors
Accessibility
White text reads better on this background (18.95:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#141319 · ΔE 7.5
Deuteranopia
#141518 · ΔE 10
Tritanopia
#181616 · ΔE 10.4
Achromatopsia
#111111 · ΔE 11.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #180c1c;
bg-[#180c1c]
Related colors
Frequently asked questions
#180c1c (#180c1c) is rgb(24, 12, 28) in RGB.
No, #180c1c 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 #180c1c, or check how it holds up for accessibility.