Skip to content
Vectorlight.net

#401282

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

HEX
#401282
RGB
64, 18, 130
HSL
264.64°, 75.68%, 29.02%
OKLCH
0.34 0.17 293.6
Names
—
Lists

Codes

FormatValue
HEX#401282
RGBrgb(64 18 130)
HSLhsl(264.64 75.68% 29.02%)
OKLCHoklch(0.34 0.17 293.6)
CMYKcmyk(50.77% 86.15% 0% 49.02%)
Android#ff401282

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #401282;
background-color: #401282;
bg-[#401282]