Skip to content
Vectorlight.net

#472eab

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

HEX
#472eab
RGB
71, 46, 171
HSL
252°, 57.6%, 42.55%
OKLCH
0.42 0.19 283.94
Names
—
Lists

Codes

FormatValue
HEX#472eab
RGBrgb(71 46 171)
HSLhsl(252 57.6% 42.55%)
OKLCHoklch(0.42 0.19 283.94)
CMYKcmyk(58.48% 73.1% 0% 32.94%)
Android#ff472eab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #472eab;
background-color: #472eab;
bg-[#472eab]