Skip to content
Vectorlight.net

#240649

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

HEX
#240649
RGB
36, 6, 73
HSL
266.87°, 84.81%, 15.49%
OKLCH
0.23 0.11 296.52
Names
—
Lists

Codes

FormatValue
HEX#240649
RGBrgb(36 6 73)
HSLhsl(266.87 84.81% 15.49%)
OKLCHoklch(0.23 0.11 296.52)
CMYKcmyk(50.68% 91.78% 0% 71.37%)
Android#ff240649

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #240649;
background-color: #240649;
bg-[#240649]