Skip to content
Vectorlight.net

#38245c

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

HEX
#38245c
RGB
56, 36, 92
HSL
261.43°, 43.75%, 25.1%
OKLCH
0.32 0.1 297.01
Names
—
Lists

Codes

FormatValue
HEX#38245c
RGBrgb(56 36 92)
HSLhsl(261.43 43.75% 25.1%)
OKLCHoklch(0.32 0.1 297.01)
CMYKcmyk(39.13% 60.87% 0% 63.92%)
Android#ff38245c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #38245c;
background-color: #38245c;
bg-[#38245c]