Color #402536
A muted very dark magenta.
Conversions
#402536
rgb(64, 37, 54)
hsl(322.2, 26.7%, 19.8%)
hsv(322.2, 42.2%, 25.1%)
cmyk(0%, 42.2%, 15.6%, 74.9%)
lab(18.71, 15.8, -5.65)
lch(18.71, 16.78, 340.32)
oklch(30.6%, 0.0487, 342.05)
hwb(322.2, 14.5%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (13.67:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363632 · ΔE 19
Deuteranopia
#383932 · ΔE 21.7
Tritanopia
#3f2f2f · ΔE 9.4
Achromatopsia
#2e2e2e · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #402536;
bg-[#402536]
Related colors
Frequently asked questions
#402536 (#402536) is rgb(64, 37, 54) in RGB.
No, #402536 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 #402536, or check how it holds up for accessibility.