Color #240032
A vivid, highly saturated very dark purple.
Conversions
#240032
rgb(36, 0, 50)
hsl(283.2, 100%, 9.8%)
hsv(283.2, 100%, 19.6%)
cmyk(28%, 100%, 0%, 80.4%)
lab(5.47, 27.13, -23.83)
lch(5.47, 36.11, 318.71)
oklch(19.6%, 0.0966, 314.33)
hwb(283.2, 0%, 80.4%)
Harmony colors
Accessibility
White text reads better on this background (18.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#19192b · ΔE 13.6
Deuteranopia
#1b1d29 · ΔE 16.7
Tritanopia
#232523 · ΔE 23.7
Achromatopsia
#121212 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #240032;
bg-[#240032]
Related colors
Frequently asked questions
#240032 (#240032) is rgb(36, 0, 50) in RGB.
No, #240032 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 #240032, or check how it holds up for accessibility.