Skip to content
Kolorvia
#401b2e

Color #401b2e

A moderately saturated very dark magenta.

Conversions

HEX
#401b2e
RGB
rgb(64, 27, 46)
HSL
hsl(329.2, 40.7%, 17.8%)
HSV / HSB
hsv(329.2, 57.8%, 25.1%)
CMYK
cmyk(0%, 57.8%, 28.1%, 74.9%)
LAB
lab(15.86, 20.69, -4.29)
LCH
lch(15.86, 21.13, 348.29)
OKLCH
oklch(28.3%, 0.0633, 349.81)
HWB
hwb(329.2, 10.6%, 74.9%)

Harmony colors

Complementary

#1b402d

Analogous

#3f1b40
#401b2e
#401b1b

Triadic

#401b2e
#2e401b
#1b2e40

Split-complementary

#401b2e
#1b401b
#1b403f

Tetradic

#401b2e
#402d1b
#1b402d
#1b2e40

Square

#401b2e
#403f1b
#1b402d
#1b1b40

Shades

Color #401b2e mixed toward black.

#351626
#2b121f
#200d17
#15090f
#0b0408

Tints

Color #401b2e mixed toward white.

#713051
#a24475
#c16c97
#d69dba
#eacedc

Tones

Color #401b2e mixed toward gray.

#3d1e2e
#3a212e
#37242e
#34272e
#302a2d

Accessibility

Aa White text on this color
14.85:1
Aa Black text on this color
1.41:1

White text reads better on this background (14.85:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#34332a · ΔE 24.2

Deuteranopia

#353829 · ΔE 29.8

Tritanopia

#3f2726 · ΔE 9.8

Achromatopsia

#272727 · ΔE 18.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

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

Related colors

Hot Pink #ff69b4
Deep Pink #ff1493
Medium Violet Red #c71585
Lavender Blush #fff0f5
Pale Violet Red #db7093
Crimson #dc143c

Frequently asked questions

#401b2e (#401b2e) is rgb(64, 27, 46) in RGB.

No, #401b2e is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

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