Skip to content
Vectorlight.net

#382157

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

HEX
#382157
RGB
56, 33, 87
HSL
265.56°, 45%, 23.53%
OKLCH
0.31 0.09 300.59
Names
—
Lists

Codes

FormatValue
HEX#382157
RGBrgb(56 33 87)
HSLhsl(265.56 45% 23.53%)
OKLCHoklch(0.31 0.09 300.59)
CMYKcmyk(35.63% 62.07% 0% 65.88%)
Android#ff382157

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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