Skip to content
Kolorvia
#40213f

Color #40213f

A muted very dark magenta.

Conversions

HEX
#40213f
RGB
rgb(64, 33, 63)
HSL
hsl(301.9, 32%, 19%)
HSV / HSB
hsv(301.9, 48.4%, 25.1%)
CMYK
cmyk(0%, 48.4%, 1.6%, 74.9%)
LAB
lab(18.08, 20.3, -12.87)
LCH
lch(18.08, 24.04, 327.63)
OKLCH
oklch(30.2%, 0.0667, 328.24)
HWB
hwb(301.9, 12.9%, 74.9%)

Harmony colors

Complementary

#214022

Analogous

#312140
#40213f
#40212f

Triadic

#40213f
#3f4021
#213f40

Split-complementary

#40213f
#2f4021
#214031

Tetradic

#40213f
#402221
#214022
#213f40

Square

#40213f
#403121
#214022
#212f40

Shades

Color #40213f mixed toward black.

#351b34
#2b162a
#20101f
#150b15
#0b050a

Tints

Color #40213f mixed toward white.

#6d386c
#9b5098
#b977b7
#d0a4cf
#e8d2e7

Tones

Color #40213f mixed toward gray.

#3d243d
#3b263a
#382938
#362b35
#332e33

Accessibility

Aa White text on this color
13.93:1
Aa Black text on this color
1.51:1

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

Under color vision deficiencies

Protanopia

#353539 · ΔE 17.3

Deuteranopia

#373938 · ΔE 19.8

Tritanopia

#3f3433 · ΔE 15.7

Achromatopsia

#2c2c2c · ΔE 18.7

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#40213f (#40213f) is rgb(64, 33, 63) in RGB.

No, #40213f 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 #40213f, 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.