Color #401a48
A moderately saturated very dark purple.
Conversions
#401a48
rgb(64, 26, 72)
hsl(289.6, 46.9%, 19.2%)
hsv(289.6, 63.9%, 28.2%)
cmyk(11.1%, 63.9%, 0%, 71.8%)
lab(16.97, 26.61, -20.83)
lch(16.97, 33.79, 321.95)
oklch(29.5%, 0.0908, 320.4)
hwb(289.6, 10.2%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (14.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#333340 · ΔE 16.3
Deuteranopia
#35383e · ΔE 19.7
Tritanopia
#3f3938 · ΔE 21
Achromatopsia
#2a2a2a · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #401a48;
bg-[#401a48]
Related colors
Frequently asked questions
#401a48 (#401a48) is rgb(64, 26, 72) in RGB.
No, #401a48 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 #401a48, or check how it holds up for accessibility.