Skip to content
Vectorlight.net

#403165

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

HEX
#403165
RGB
64, 49, 101
HSL
257.31°, 34.67%, 29.41%
OKLCH
0.36 0.09 294.82
Names
—
Lists

Codes

FormatValue
HEX#403165
RGBrgb(64 49 101)
HSLhsl(257.31 34.67% 29.41%)
OKLCHoklch(0.36 0.09 294.82)
CMYKcmyk(36.63% 51.49% 0% 60.39%)
Android#ff403165

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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