Skip to content
Vectorlight.net

#54306f

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

HEX
#54306f
RGB
84, 48, 111
HSL
274.29°, 39.62%, 31.18%
OKLCH
0.38 0.11 308.52
Names
—
Lists

Codes

FormatValue
HEX#54306f
RGBrgb(84 48 111)
HSLhsl(274.29 39.62% 31.18%)
OKLCHoklch(0.38 0.11 308.52)
CMYKcmyk(24.32% 56.76% 0% 56.47%)
Android#ff54306f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #54306f;
background-color: #54306f;
bg-[#54306f]