Skip to content
Vectorlight.net

#401175

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

HEX
#401175
RGB
64, 17, 117
HSL
268.2°, 74.63%, 26.27%
OKLCH
0.32 0.15 298.1
Names
—
Lists

Codes

FormatValue
HEX#401175
RGBrgb(64 17 117)
HSLhsl(268.2 74.63% 26.27%)
OKLCHoklch(0.32 0.15 298.1)
CMYKcmyk(45.3% 85.47% 0% 54.12%)
Android#ff401175

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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