Skip to content
Vectorlight.net

#412abb

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

HEX
#412abb
RGB
65, 42, 187
HSL
249.52°, 63.32%, 44.9%
OKLCH
0.42 0.21 279.58
Names
—
Lists

Codes

FormatValue
HEX#412abb
RGBrgb(65 42 187)
HSLhsl(249.52 63.32% 44.9%)
OKLCHoklch(0.42 0.21 279.58)
CMYKcmyk(65.24% 77.54% 0% 26.67%)
Android#ff412abb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #412abb;
background-color: #412abb;
bg-[#412abb]