Skip to content
Vectorlight.net

#382168

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

HEX
#382168
RGB
56, 33, 104
HSL
259.44°, 51.82%, 26.86%
OKLCH
0.32 0.12 293.54
Names
—
Lists

Codes

FormatValue
HEX#382168
RGBrgb(56 33 104)
HSLhsl(259.44 51.82% 26.86%)
OKLCHoklch(0.32 0.12 293.54)
CMYKcmyk(46.15% 68.27% 0% 59.22%)
Android#ff382168

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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