Skip to content
Vectorlight.net

#22175f

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

HEX
#22175f
RGB
34, 23, 95
HSL
249.17°, 61.02%, 23.14%
OKLCH
0.27 0.12 281.83
Names
—
Lists

Codes

FormatValue
HEX#22175f
RGBrgb(34 23 95)
HSLhsl(249.17 61.02% 23.14%)
OKLCHoklch(0.27 0.12 281.83)
CMYKcmyk(64.21% 75.79% 0% 62.75%)
Android#ff22175f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #22175f;
background-color: #22175f;
bg-[#22175f]