Skip to content
Kolorvia
#40214a

Color #40214a

A muted dark purple.

Conversions

HEX
#40214a
RGB
rgb(64, 33, 74)
HSL
hsl(285.4, 38.3%, 21%)
HSV / HSB
hsv(285.4, 55.4%, 29%)
CMYK
cmyk(13.5%, 55.4%, 0%, 71%)
LAB
lab(18.68, 22.88, -19.51)
LCH
lch(18.68, 30.07, 319.55)
OKLCH
oklch(30.9%, 0.08, 317.38)
HWB
hwb(285.4, 12.9%, 71%)

Harmony colors

Complementary

#2b4a21

Analogous

#2c214a
#40214a
#4a2140

Triadic

#40214a
#4a4021
#214a40

Split-complementary

#40214a
#404a21
#214a2c

Tetradic

#40214a
#4a212b
#2b4a21
#214a40

Square

#40214a
#4a2c21
#2b4a21
#21404a

Shades

Color #40214a mixed toward black.

#351c3e
#2b1631
#201125
#150b19
#0b060c

Tints

Color #40214a mixed toward white.

#683678
#904aa7
#ae74c1
#c9a2d6
#e4d1ea

Tones

Color #40214a mixed toward gray.

#3e2447
#3d2843
#3b2b40
#392f3c
#373239

Accessibility

Aa White text on this color
13.69:1
Aa Black text on this color
1.53:1

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

Under color vision deficiencies

Protanopia

#353543 · ΔE 14.6

Deuteranopia

#373941 · ΔE 17.8

Tritanopia

#3f3c3b · ΔE 20.7

Achromatopsia

#2d2d2d · ΔE 20.4

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Blue Violet #8a2be2
Dark Magenta #8b008b

Frequently asked questions

#40214a (#40214a) is rgb(64, 33, 74) in RGB.

No, #40214a 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 #40214a, 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.