Skip to content
Vectorlight.net

#51165a

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

HEX
#51165a
RGB
81, 22, 90
HSL
292.06°, 60.71%, 21.96%
OKLCH
0.33 0.13 322.07
Names
—
Lists

Codes

FormatValue
HEX#51165a
RGBrgb(81 22 90)
HSLhsl(292.06 60.71% 21.96%)
OKLCHoklch(0.33 0.13 322.07)
CMYKcmyk(10% 75.56% 0% 64.71%)
Android#ff51165a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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