Skip to content
Vectorlight.net

#54518d

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

HEX
#54518d
RGB
84, 81, 141
HSL
243°, 27.03%, 43.53%
OKLCH
0.47 0.1 284.31
Names
—
Lists

Codes

FormatValue
HEX#54518d
RGBrgb(84 81 141)
HSLhsl(243 27.03% 43.53%)
OKLCHoklch(0.47 0.1 284.31)
CMYKcmyk(40.43% 42.55% 0% 44.71%)
Android#ff54518d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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