Skip to content
Kolorvia
#401a34

Color #401a34

A moderately saturated very dark magenta.

Conversions

HEX
#401a34
RGB
rgb(64, 26, 52)
HSL
hsl(318.9, 42.2%, 17.6%)
HSV / HSB
hsv(318.9, 59.4%, 25.1%)
CMYK
cmyk(0%, 59.4%, 18.8%, 74.9%)
LAB
lab(15.89, 22.37, -8.53)
LCH
lch(15.89, 23.94, 339.13)
OKLCH
oklch(28.4%, 0.0699, 340.97)
HWB
hwb(318.9, 10.2%, 74.9%)

Harmony colors

Complementary

#1a4026

Analogous

#391a40
#401a34
#401a21

Triadic

#401a34
#34401a
#1a3440

Split-complementary

#401a34
#21401a
#1a4039

Tetradic

#401a34
#40261a
#1a4026
#1a3440

Square

#401a34
#40391a
#1a4026
#1a2140

Shades

Color #401a34 mixed toward black.

#35162b
#2b1123
#200d1a
#150911
#0b0409

Tints

Color #401a34 mixed toward white.

#722e5c
#a34285
#c26aa6
#d79bc4
#ebcde1

Tones

Color #401a34 mixed toward gray.

#3d1d33
#3a2032
#362330
#33272f
#302a2e

Accessibility

Aa White text on this color
14.84:1
Aa Black text on this color
1.42:1

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

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

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

Build something with this color

Generate a full palette from #401a34, 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.