Skip to content
Vectorlight.net

#382154

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

HEX
#382154
RGB
56, 33, 84
HSL
267.06°, 43.59%, 22.94%
OKLCH
0.3 0.09 302.14
Names
—
Lists

Codes

FormatValue
HEX#382154
RGBrgb(56 33 84)
HSLhsl(267.06 43.59% 22.94%)
OKLCHoklch(0.3 0.09 302.14)
CMYKcmyk(33.33% 60.71% 0% 67.06%)
Android#ff382154

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #382154;
background-color: #382154;
bg-[#382154]