Skip to content
Kolorvia
#40394e

Color #40394e

A muted dark purple.

Conversions

HEX
#40394e
RGB
rgb(64, 57, 78)
HSL
hsl(260, 15.6%, 26.5%)
HSV / HSB
hsv(260, 26.9%, 30.6%)
CMYK
cmyk(17.9%, 26.9%, 0%, 69.4%)
LAB
lab(25.46, 8.04, -11.67)
LCH
lch(25.46, 14.17, 304.56)
OKLCH
oklch(36.1%, 0.0368, 299.84)
HWB
hwb(260, 22.4%, 69.4%)

Harmony colors

Complementary

#474e39

Analogous

#393d4e
#40394e
#4b394e

Triadic

#40394e
#4e4039
#394e40

Split-complementary

#40394e
#4e4b39
#3d4e39

Tetradic

#40394e
#4e3947
#474e39
#394e40

Square

#40394e
#4e393d
#474e39
#394e4b

Shades

Color #40394e mixed toward black.

#353041
#2b2634
#201d27
#15131a
#0b0a0d

Tints

Color #40394e mixed toward white.

#5e5372
#7c6f96
#9c93b0
#bdb7ca
#dedbe5

Tones

Color #40394e mixed toward gray.

#413b4c
#413d4b
#423e49
#424047
#434245

Accessibility

Aa White text on this color
10.98:1
Aa Black text on this color
1.91:1

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

Under color vision deficiencies

Protanopia

#3d3d4a · ΔE 5.5

Deuteranopia

#3d3e48 · ΔE 7.2

Tritanopia

#404645 · ΔE 15.2

Achromatopsia

#3c3c3c · ΔE 12.2

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#40394e (#40394e) is rgb(64, 57, 78) in RGB.

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