Skip to content
Vectorlight.net

#400eae

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#400eae
RGB
64, 14, 174
HSL
258.75°, 85.11%, 36.86%
OKLCH
0.38 0.22 283.39
Names
—
Lists

Codes

FormatValue
HEX#400eae
RGBrgb(64 14 174)
HSLhsl(258.75 85.11% 36.86%)
OKLCHoklch(0.38 0.22 283.39)
CMYKcmyk(63.22% 91.95% 0% 31.76%)
Android#ff400eae

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
11.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.89:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#400eae"
Gradient stop
<stop stop-color="#400eae"/>
CSS variable + fill
:root { --c: #400eae; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #400eae;
background-color: #400eae;
bg-[#400eae]