Skip to content
Kolorvia
#402536

Color #402536

A muted very dark magenta.

Conversions

HEX
#402536
RGB
rgb(64, 37, 54)
HSL
hsl(322.2, 26.7%, 19.8%)
HSV / HSB
hsv(322.2, 42.2%, 25.1%)
CMYK
cmyk(0%, 42.2%, 15.6%, 74.9%)
LAB
lab(18.71, 15.8, -5.65)
LCH
lch(18.71, 16.78, 340.32)
OKLCH
oklch(30.6%, 0.0487, 342.05)
HWB
hwb(322.2, 14.5%, 74.9%)

Harmony colors

Complementary

#25402f

Analogous

#3c2540
#402536
#402529

Triadic

#402536
#364025
#253640

Split-complementary

#402536
#294025
#25403c

Tetradic

#402536
#402f25
#25402f
#253640

Square

#402536
#403c25
#25402f
#252940

Shades

Color #402536 mixed toward black.

#351f2d
#2b1924
#20131b
#150c12
#0b0609

Tints

Color #402536 mixed toward white.

#6b3e5a
#96577f
#b47da0
#cda9c0
#e6d4df

Tones

Color #402536 mixed toward gray.

#3e2735
#3b2a35
#392c34
#372e34
#353033

Accessibility

Aa White text on this color
13.67:1
Aa Black text on this color
1.54:1

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

CSS
background-color: #402536;
Tailwind (arbitrary value)
bg-[#402536]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Lavender Blush #fff0f5
Pale Violet Red #db7093
Orchid #da70d6

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

Build something with this color

Generate a full palette from #402536, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.