Skip to content
Vectorlight.net

#401049

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

HEX
#401049
RGB
64, 16, 73
HSL
290.53°, 64.04%, 17.45%
OKLCH
0.28 0.11 320.87
Names
—
Lists

Codes

FormatValue
HEX#401049
RGBrgb(64 16 73)
HSLhsl(290.53 64.04% 17.45%)
OKLCHoklch(0.28 0.11 320.87)
CMYKcmyk(12.33% 78.08% 0% 71.37%)
Android#ff401049

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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