#71157E#71157E

#71157E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.173 H 322.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#71157E
RGBrgb(113, 21, 126)
HSLhsl(293, 71%, 29%)
HSVhsv(293, 83%, 49%)
CMYKcmyk(10.3%, 83.3%, 0%, 50.6%)
CIE-LABlab(28.26, 51.73, -37.83)
CIE-LCHlch(28.26, 64.09, 323.83°)
OKLaboklab(40.45% 0.1368 -0.1059)
OKLCHoklch(40.45% 0.173 322.2)
XYZxyz(10.8437, 5.5540, 20.2355)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71157E #227E15
analogous
#3D157E #71157E #7E1557
triadic
#71157E #7E7115 #157E71
tetradic
#71157E #7E3D15 #227E15 #15577E
square
#71157E #7E3D15 #227E15 #15577E
split-complementary
#71157E #577E15 #157E3D
monochromatic
#18041A #420C4A #71157E #A01EB2 #C731DD

Accessibility & contrast

On white

9.95
#71157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#71157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71157E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71157E#FFFFFF#000000##FFFFFF
##71157E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#722C4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71157e;
/* rgb */ color: rgb(113, 21, 126);
/* oklch */ color: oklch(40.5% 0.173 322.2);
Tailwind
colors: {
  custom: {
    50: '#9d60a4',
    500: '#71157e',
    950: '#000000',
  },
}
SCSS
$custom: #71157e;
$custom-light: #9d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71157e",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 292.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.17304,
    "h": 322.2
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#71157E
secondary
#4AB33C
accent
#EE3A50
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71157E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#71157E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva