Skip to content
Vectorlight.net

#51385a

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

HEX
#51385a
RGB
81, 56, 90
HSL
284.12°, 23.29%, 28.63%
OKLCH
0.38 0.06 316.85
Names
—
Lists

Codes

FormatValue
HEX#51385a
RGBrgb(81 56 90)
HSLhsl(284.12 23.29% 28.63%)
OKLCHoklch(0.38 0.06 316.85)
CMYKcmyk(10% 37.78% 0% 64.71%)
Android#ff51385a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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