Skip to content
Vectorlight.net

#51279d

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

HEX
#51279d
RGB
81, 39, 157
HSL
261.36°, 60.2%, 38.43%
OKLCH
0.4 0.18 292.94
Names
—
Lists

Codes

FormatValue
HEX#51279d
RGBrgb(81 39 157)
HSLhsl(261.36 60.2% 38.43%)
OKLCHoklch(0.4 0.18 292.94)
CMYKcmyk(48.41% 75.16% 0% 38.43%)
Android#ff51279d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51279d;
background-color: #51279d;
bg-[#51279d]