Color #180f20
A muted very dark purple.
Conversions
#180f20
rgb(24, 15, 32)
hsl(271.8, 36.2%, 9.2%)
hsv(271.8, 53.1%, 12.5%)
cmyk(25%, 53.1%, 0%, 87.5%)
lab(5.78, 8.18, -9.82)
lch(5.78, 12.78, 309.79)
oklch(18.9%, 0.0359, 307.64)
hwb(271.8, 5.9%, 87.5%)
Harmony colors
Accessibility
White text reads better on this background (18.62:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#15141d · ΔE 6
Deuteranopia
#15161c · ΔE 8.5
Tritanopia
#181a19 · ΔE 13.4
Achromatopsia
#131313 · ΔE 11.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #180f20;
bg-[#180f20]
Related colors
Frequently asked questions
#180f20 (#180f20) is rgb(24, 15, 32) in RGB.
No, #180f20 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 #180f20, or check how it holds up for accessibility.