Skip to content
Vectorlight.net

#51007c

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

HEX
#51007c
RGB
81, 0, 124
HSL
279.19°, 100%, 24.31%
OKLCH
0.34 0.18 307.37
Names
—
Lists

Codes

FormatValue
HEX#51007c
RGBrgb(81 0 124)
HSLhsl(279.19 100% 24.31%)
OKLCHoklch(0.34 0.18 307.37)
CMYKcmyk(34.68% 100% 0% 51.37%)
Android#ff51007c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51007c;
background-color: #51007c;
bg-[#51007c]