Skip to content
Vectorlight.net

#38218d

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

HEX
#38218d
RGB
56, 33, 141
HSL
252.78°, 62.07%, 34.12%
OKLCH
0.36 0.17 283.86
Names
—
Lists

Codes

FormatValue
HEX#38218d
RGBrgb(56 33 141)
HSLhsl(252.78 62.07% 34.12%)
OKLCHoklch(0.36 0.17 283.86)
CMYKcmyk(60.28% 76.6% 0% 44.71%)
Android#ff38218d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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