Color #401c4e
A moderately saturated dark purple.
Conversions
#401c4e
rgb(64, 28, 78)
hsl(283.2, 47.2%, 20.8%)
hsv(283.2, 64.1%, 30.6%)
cmyk(17.9%, 64.1%, 0%, 69.4%)
lab(17.79, 26.9, -23.65)
lch(17.79, 35.82, 318.68)
oklch(30.3%, 0.0944, 315.47)
hwb(283.2, 11%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (14.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343446 · ΔE 14.5
Deuteranopia
#363843 · ΔE 17.7
Tritanopia
#3f3e3c · ΔE 24.1
Achromatopsia
#2c2c2c · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #401c4e;
bg-[#401c4e]
Related colors
Frequently asked questions
#401c4e (#401c4e) is rgb(64, 28, 78) in RGB.
No, #401c4e 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 #401c4e, or check how it holds up for accessibility.