Skip to content
Kolorvia
#40394a

Color #40394a

A nearly neutral, gray-leaning dark purple.

Conversions

HEX
#40394a
RGB
rgb(64, 57, 74)
HSL
hsl(264.7, 13%, 25.7%)
HSV / HSB
hsv(264.7, 23%, 29%)
CMYK
cmyk(13.5%, 23%, 0%, 71%)
LAB
lab(25.29, 7, -9.28)
LCH
lch(25.29, 11.62, 307.03)
OKLCH
oklch(35.9%, 0.0303, 303.69)
HWB
hwb(264.7, 22.4%, 71%)

Harmony colors

Complementary

#434a39

Analogous

#393b4a
#40394a
#49394a

Triadic

#40394a
#4a4039
#394a40

Split-complementary

#40394a
#4a4939
#3b4a39

Tetradic

#40394a
#4a3943
#434a39
#394a40

Square

#40394a
#4a393b
#434a39
#394a49

Shades

Color #40394a mixed toward black.

#35303e
#2b2631
#201d25
#151319
#0b0a0c

Tints

Color #40394a mixed toward white.

#5f546e
#7e7091
#9e94ad
#beb8c8
#dfdbe4

Tones

Color #40394a mixed toward gray.

#403a49
#413c47
#413d46
#413f44
#414043

Accessibility

Aa White text on this color
11.04:1
Aa Black text on this color
1.9:1

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

Under color vision deficiencies

Protanopia

#3d3d46 · ΔE 5.9

Deuteranopia

#3d3e45 · ΔE 7.3

Tritanopia

#404343 · ΔE 12.1

Achromatopsia

#3c3c3c · ΔE 10.6

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Orchid #9932cc
Dark Slate Blue #483d8b

Frequently asked questions

#40394a (#40394a) is rgb(64, 57, 74) in RGB.

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