Skip to content
Vectorlight.net

#38176b

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

HEX
#38176b
RGB
56, 23, 107
HSL
263.57°, 64.62%, 25.49%
OKLCH
0.31 0.14 295.13
Names
—
Lists

Codes

FormatValue
HEX#38176b
RGBrgb(56 23 107)
HSLhsl(263.57 64.62% 25.49%)
OKLCHoklch(0.31 0.14 295.13)
CMYKcmyk(47.66% 78.5% 0% 58.04%)
Android#ff38176b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #38176b;
background-color: #38176b;
bg-[#38176b]