Color #240721
A moderately saturated very dark magenta.
Conversions
#240721
rgb(36, 7, 33)
hsl(306.2, 67.4%, 8.4%)
hsv(306.2, 80.6%, 14.1%)
cmyk(0%, 80.6%, 8.3%, 85.9%)
lab(5.75, 18.58, -10.49)
lch(5.75, 21.34, 330.55)
oklch(19.4%, 0.0637, 332.03)
hwb(306.2, 2.7%, 85.9%)
Harmony colors
Accessibility
White text reads better on this background (18.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1b1b1d · ΔE 16.9
Deuteranopia
#1c1e1b · ΔE 22.5
Tritanopia
#231918 · ΔE 14.3
Achromatopsia
#131313 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #240721;
bg-[#240721]
Related colors
Frequently asked questions
#240721 (#240721) is rgb(36, 7, 33) in RGB.
No, #240721 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 #240721, or check how it holds up for accessibility.