Skip to content
Vectorlight.net

#401abd

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

HEX
#401abd
RGB
64, 26, 189
HSL
253.99°, 75.81%, 42.16%
OKLCH
0.41 0.23 280.28
Names
—
Lists

Codes

FormatValue
HEX#401abd
RGBrgb(64 26 189)
HSLhsl(253.99 75.81% 42.16%)
OKLCHoklch(0.41 0.23 280.28)
CMYKcmyk(66.14% 86.24% 0% 25.88%)
Android#ff401abd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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