Skip to content
Vectorlight.net

#a3308b

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

HEX
#a3308b
RGB
163, 48, 139
HSL
312.52°, 54.5%, 41.37%
OKLCH
0.51 0.18 337.45
Names
—
Lists

Codes

FormatValue
HEX#a3308b
RGBrgb(163 48 139)
HSLhsl(312.52 54.5% 41.37%)
OKLCHoklch(0.51 0.18 337.45)
CMYKcmyk(0% 70.55% 14.72% 36.08%)
Android#ffa3308b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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