Skip to content
Kolorvia
#40004e

Color #40004e

A vivid, highly saturated very dark purple.

Conversions

HEX
#40004e
RGB
rgb(64, 0, 78)
HSL
hsl(289.2, 100%, 15.3%)
HSV / HSB
hsv(289.2, 100%, 30.6%)
CMYK
cmyk(17.9%, 100%, 0%, 69.4%)
LAB
lab(13.47, 39.14, -30.58)
LCH
lch(13.47, 49.67, 322)
OKLCH
oklch(27.2%, 0.1313, 318.95)
HWB
hwb(289.2, 0%, 69.4%)

Harmony colors

Complementary

#0e4e00

Analogous

#19004e
#40004e
#4e0035

Triadic

#40004e
#4e4000
#004e40

Split-complementary

#40004e
#354e00
#004e19

Tetradic

#40004e
#4e000e
#0e4e00
#004e40

Square

#40004e
#4e1900
#0e4e00
#00354e

Shades

Color #40004e mixed toward black.

#350041
#2b0034
#200027
#15001a
#0b000d

Tints

Color #40004e mixed toward white.

#7b0096
#b600de
#d827ff
#e56fff
#f2b7ff

Tones

Color #40004e mixed toward gray.

#3c0748
#380d41
#33143b
#2f1a34
#2b212e

Accessibility

Aa White text on this color
15.81:1
Aa Black text on this color
1.33:1

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

Under color vision deficiencies

Protanopia

#302f44 · ΔE 17

Deuteranopia

#323541 · ΔE 20.2

Tritanopia

#3e3b38 · ΔE 27.3

Achromatopsia

#232323 · ΔE 24.5

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd

Frequently asked questions

#40004e (#40004e) is rgb(64, 0, 78) in RGB.

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