Skip to content
Vectorlight.net

#25174f

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

HEX
#25174f
RGB
37, 23, 79
HSL
255°, 54.9%, 20%
OKLCH
0.26 0.1 289.33
Names
—
Lists

Codes

FormatValue
HEX#25174f
RGBrgb(37 23 79)
HSLhsl(255 54.9% 20%)
OKLCHoklch(0.26 0.1 289.33)
CMYKcmyk(53.16% 70.89% 0% 69.02%)
Android#ff25174f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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