Color #402849
A muted dark purple.
Conversions
#402849
rgb(64, 40, 73)
hsl(283.6, 29.2%, 22.2%)
hsv(283.6, 45.2%, 28.6%)
cmyk(12.3%, 45.2%, 0%, 71.4%)
lab(20.4, 18.13, -16.14)
lch(20.4, 24.27, 318.32)
oklch(32.1%, 0.0645, 316.38)
hwb(283.6, 15.7%, 71.4%)
Harmony colors
Accessibility
White text reads better on this background (12.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#373743 · ΔE 13.1
Deuteranopia
#383a41 · ΔE 16.1
Tritanopia
#3f3d3c · ΔE 18.6
Achromatopsia
#313131 · ΔE 18.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402849;
bg-[#402849]
Related colors
Frequently asked questions
#402849 (#402849) is rgb(64, 40, 73) in RGB.
No, #402849 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 #402849, or check how it holds up for accessibility.