Color #402449
A muted dark purple.
Conversions
#402449
rgb(64, 36, 73)
hsl(285.4, 33.9%, 21.4%)
hsv(285.4, 50.7%, 28.6%)
cmyk(12.3%, 50.7%, 0%, 71.4%)
lab(19.36, 20.73, -17.76)
lch(19.36, 27.3, 319.41)
oklch(31.3%, 0.0728, 317.56)
hwb(285.4, 14.1%, 71.4%)
Harmony colors
Accessibility
White text reads better on this background (13.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363642 · ΔE 14.4
Deuteranopia
#373940 · ΔE 17.3
Tritanopia
#3f3c3b · ΔE 19.6
Achromatopsia
#2f2f2f · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402449;
bg-[#402449]
Related colors
Frequently asked questions
#402449 (#402449) is rgb(64, 36, 73) in RGB.
No, #402449 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 #402449, or check how it holds up for accessibility.