Skip to content
Vectorlight.net

#270348

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

HEX
#270348
RGB
39, 3, 72
HSL
271.3°, 92%, 14.71%
OKLCH
0.23 0.11 300.82
Names
—
Lists

Codes

FormatValue
HEX#270348
RGBrgb(39 3 72)
HSLhsl(271.3 92% 14.71%)
OKLCHoklch(0.23 0.11 300.82)
CMYKcmyk(45.83% 95.83% 0% 71.76%)
Android#ff270348

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
17.60: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="#270348"
Gradient stop
<stop stop-color="#270348"/>
CSS variable + fill
:root { --c: #270348; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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