Skip to content
Vectorlight.net

#51119a

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

HEX
#51119a
RGB
81, 17, 154
HSL
268.03°, 80.12%, 33.53%
OKLCH
0.38 0.19 296.25
Names
—
Lists

Codes

FormatValue
HEX#51119a
RGBrgb(81 17 154)
HSLhsl(268.03 80.12% 33.53%)
OKLCHoklch(0.38 0.19 296.25)
CMYKcmyk(47.4% 88.96% 0% 39.61%)
Android#ff51119a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51119a;
background-color: #51119a;
bg-[#51119a]