Skip to content
Vectorlight.net

#401cde

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

HEX
#401cde
RGB
64, 28, 222
HSL
251.13°, 77.6%, 49.02%
OKLCH
0.45 0.26 276.25
Names
—
Lists

Codes

FormatValue
HEX#401cde
RGBrgb(64 28 222)
HSLhsl(251.13 77.6% 49.02%)
OKLCHoklch(0.45 0.26 276.25)
CMYKcmyk(71.17% 87.39% 0% 12.94%)
Android#ff401cde

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
8.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.43: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="#401cde"
Gradient stop
<stop stop-color="#401cde"/>
CSS variable + fill
:root { --c: #401cde; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #401cde;
background-color: #401cde;
bg-[#401cde]