Skip to content
Kolorvia
#401c4e

Color #401c4e

A moderately saturated dark purple.

Conversions

HEX
#401c4e
RGB
rgb(64, 28, 78)
HSL
hsl(283.2, 47.2%, 20.8%)
HSV / HSB
hsv(283.2, 64.1%, 30.6%)
CMYK
cmyk(17.9%, 64.1%, 0%, 69.4%)
LAB
lab(17.79, 26.9, -23.65)
LCH
lch(17.79, 35.82, 318.68)
OKLCH
oklch(30.3%, 0.0944, 315.47)
HWB
hwb(283.2, 11%, 69.4%)

Harmony colors

Complementary

#2a4e1c

Analogous

#271c4e
#401c4e
#4e1c43

Triadic

#401c4e
#4e401c
#1c4e40

Split-complementary

#401c4e
#434e1c
#1c4e27

Tetradic

#401c4e
#4e1c2a
#2a4e1c
#1c4e40

Square

#401c4e
#4e271c
#2a4e1c
#1c434e

Shades

Color #401c4e mixed toward black.

#351741
#2b1334
#200e27
#15091a
#0b050d

Tints

Color #401c4e mixed toward white.

#692e80
#9140b1
#af6aca
#ca9cdb
#e4cded

Tones

Color #401c4e mixed toward gray.

#3e204a
#3c2446
#3b2942
#392d3d
#373139

Accessibility

Aa White text on this color
14.06:1
Aa Black text on this color
1.49:1

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

Under color vision deficiencies

Protanopia

#343446 · ΔE 14.5

Deuteranopia

#363843 · ΔE 17.7

Tritanopia

#3f3e3c · ΔE 24.1

Achromatopsia

#2c2c2c · ΔE 22

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

Code

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

Related colors

Dark Violet #9400d3
Dark Orchid #9932cc
Medium Orchid #ba55d3
Indigo #4b0082
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#401c4e (#401c4e) is rgb(64, 28, 78) in RGB.

No, #401c4e 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 #401c4e, 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.