Color #401a34
A moderately saturated very dark magenta.
Conversions
#401a34
rgb(64, 26, 52)
hsl(318.9, 42.2%, 17.6%)
hsv(318.9, 59.4%, 25.1%)
cmyk(0%, 59.4%, 18.8%, 74.9%)
lab(15.89, 22.37, -8.53)
lch(15.89, 23.94, 339.13)
oklch(28.4%, 0.0699, 340.97)
hwb(318.9, 10.2%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (14.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#33332f · ΔE 22.9
Deuteranopia
#35382e · ΔE 29
Tritanopia
#3f2b2a · ΔE 12.9
Achromatopsia
#282828 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #401a34;
bg-[#401a34]
Related colors
Frequently asked questions
#401a34 (#401a34) is rgb(64, 26, 52) in RGB.
No, #401a34 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 #401a34, or check how it holds up for accessibility.