Skip to content
Vectorlight.net

#38215d

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

HEX
#38215d
RGB
56, 33, 93
HSL
263°, 47.62%, 24.71%
OKLCH
0.31 0.1 297.8
Names
—
Lists

Codes

FormatValue
HEX#38215d
RGBrgb(56 33 93)
HSLhsl(263 47.62% 24.71%)
OKLCHoklch(0.31 0.1 297.8)
CMYKcmyk(39.78% 64.52% 0% 63.53%)
Android#ff38215d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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