Color #180b24
A moderately saturated very dark purple.
Conversions
#180b24
rgb(24, 11, 36)
hsl(271.2, 53.2%, 9.2%)
hsv(271.2, 69.4%, 14.1%)
cmyk(33.3%, 69.4%, 0%, 85.9%)
lab(5.07, 11.54, -14)
lch(5.07, 18.14, 309.5)
oklch(18.3%, 0.0514, 305.98)
hwb(271.2, 4.3%, 85.9%)
Harmony colors
Accessibility
White text reads better on this background (18.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#131320 · ΔE 7.8
Deuteranopia
#14151f · ΔE 9.6
Tritanopia
#171c1b · ΔE 17.8
Achromatopsia
#111111 · ΔE 14.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #180b24;
bg-[#180b24]
Related colors
Frequently asked questions
#180b24 (#180b24) is rgb(24, 11, 36) in RGB.
No, #180b24 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 #180b24, or check how it holds up for accessibility.