Skip to content
Vectorlight.net

#48166e

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

HEX
#48166e
RGB
72, 22, 110
HSL
274.09°, 66.67%, 25.88%
OKLCH
0.33 0.14 305.6
Names
—
Lists

Codes

FormatValue
HEX#48166e
RGBrgb(72 22 110)
HSLhsl(274.09 66.67% 25.88%)
OKLCHoklch(0.33 0.14 305.6)
CMYKcmyk(34.55% 80% 0% 56.86%)
Android#ff48166e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #48166e;
background-color: #48166e;
bg-[#48166e]