Color #401d47
A moderately saturated very dark magenta.
Conversions
#401d47
rgb(64, 29, 71)
hsl(290, 42%, 19.6%)
hsv(290, 59.2%, 27.8%)
cmyk(9.9%, 59.2%, 0%, 72.2%)
lab(17.57, 24.62, -19.2)
lch(17.57, 31.22, 322.05)
oklch(30%, 0.0841, 320.74)
hwb(290, 11.4%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (14.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343440 · ΔE 16
Deuteranopia
#36383e · ΔE 19.2
Tritanopia
#3f3938 · ΔE 20.2
Achromatopsia
#2b2b2b · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #401d47;
bg-[#401d47]
Related colors
Frequently asked questions
#401d47 (#401d47) is rgb(64, 29, 71) in RGB.
No, #401d47 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 #401d47, or check how it holds up for accessibility.