Skip to content
Vectorlight.net

#38116f

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

HEX
#38116f
RGB
56, 17, 111
HSL
264.89°, 73.44%, 25.1%
OKLCH
0.31 0.15 294.77
Names
—
Lists

Codes

FormatValue
HEX#38116f
RGBrgb(56 17 111)
HSLhsl(264.89 73.44% 25.1%)
OKLCHoklch(0.31 0.15 294.77)
CMYKcmyk(49.55% 84.68% 0% 56.47%)
Android#ff38116f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #38116f;
background-color: #38116f;
bg-[#38116f]