Skip to content
Vectorlight.net

#2d216f

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

HEX
#2d216f
RGB
45, 33, 111
HSL
249.23°, 54.17%, 28.24%
OKLCH
0.32 0.13 283.26
Names
—
Lists

Codes

FormatValue
HEX#2d216f
RGBrgb(45 33 111)
HSLhsl(249.23 54.17% 28.24%)
OKLCHoklch(0.32 0.13 283.26)
CMYKcmyk(59.46% 70.27% 0% 56.47%)
Android#ff2d216f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
13.47: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="#2d216f"
Gradient stop
<stop stop-color="#2d216f"/>
CSS variable + fill
:root { --c: #2d216f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #2d216f;
background-color: #2d216f;
bg-[#2d216f]