Skip to content
Vectorlight.net

#80309e

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

HEX
#80309e
RGB
128, 48, 158
HSL
283.64°, 53.4%, 40.39%
OKLCH
0.47 0.18 315.27
Names
—
Lists

Codes

FormatValue
HEX#80309e
RGBrgb(128 48 158)
HSLhsl(283.64 53.4% 40.39%)
OKLCHoklch(0.47 0.18 315.27)
CMYKcmyk(18.99% 69.62% 0% 38.04%)
Android#ff80309e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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