Color #180a31
A moderately saturated very dark purple.
Conversions
#180a31
rgb(24, 10, 49)
hsl(261.5, 66.1%, 11.6%)
hsv(261.5, 79.6%, 19.2%)
cmyk(51%, 79.6%, 0%, 80.8%)
lab(5.72, 17.37, -22.78)
lch(5.72, 28.65, 307.33)
oklch(19.3%, 0.0732, 295.13)
hwb(261.5, 3.9%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (18.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#13132b · ΔE 6.5
Deuteranopia
#141529 · ΔE 8.4
Tritanopia
#172524 · ΔE 23.1
Achromatopsia
#131313 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #180a31;
bg-[#180a31]
Related colors
Frequently asked questions
#180a31 (#180a31) is rgb(24, 10, 49) in RGB.
No, #180a31 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 #180a31, or check how it holds up for accessibility.