Skip to content
Kolorvia
#40085a

Color #40085a

A vivid, highly saturated very dark purple.

Conversions

HEX
#40085a
RGB
rgb(64, 8, 90)
HSL
hsl(281, 83.7%, 19.2%)
HSV / HSB
hsv(281, 91.1%, 35.3%)
CMYK
cmyk(28.9%, 91.1%, 0%, 64.7%)
LAB
lab(15.5, 38.82, -35.46)
LCH
lch(15.5, 52.58, 317.59)
OKLCH
oklch(28.9%, 0.1338, 311.24)
HWB
hwb(281, 3.1%, 64.7%)

Harmony colors

Complementary

#225a08

Analogous

#17085a
#40085a
#5a084b

Triadic

#40085a
#5a4008
#085a40

Split-complementary

#40085a
#4b5a08
#085a17

Tetradic

#40085a
#5a0822
#225a08
#085a40

Square

#40085a
#5a1708
#225a08
#084b5a

Shades

Color #40085a mixed toward black.

#35074b
#2b053c
#20042d
#15031e
#0b010f

Tints

Color #40085a mixed toward white.

#6d0e99
#9a13d8
#b842ee
#cf81f4
#e7c0f9

Tones

Color #40085a mixed toward gray.

#3d0f53
#3b164c
#381c45
#36233f
#332a38

Accessibility

Aa White text on this color
15:1
Aa Black text on this color
1.4:1

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

Under color vision deficiencies

Protanopia

#30304f · ΔE 14.5

Deuteranopia

#33364c · ΔE 17.2

Tritanopia

#3e4542 · ΔE 26.8

Achromatopsia

#272727 · ΔE 24.8

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

Code

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

Related colors

Dark Orchid #9932cc
Dark Violet #9400d3
Indigo #4b0082
Medium Orchid #ba55d3
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#40085a (#40085a) is rgb(64, 8, 90) in RGB.

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