Skip to content
Vectorlight.net

#48027d

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

HEX
#48027d
RGB
72, 2, 125
HSL
274.15°, 96.85%, 24.9%
OKLCH
0.33 0.17 301.59
Names
—
Lists

Codes

FormatValue
HEX#48027d
RGBrgb(72 2 125)
HSLhsl(274.15 96.85% 24.9%)
OKLCHoklch(0.33 0.17 301.59)
CMYKcmyk(42.4% 98.4% 0% 50.98%)
Android#ff48027d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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