#71178E#71178E

#71178E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.185 H 315.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#71178E
RGBrgb(113, 23, 142)
HSLhsl(285, 72%, 32%)
HSVhsv(285, 84%, 56%)
CMYKcmyk(20.4%, 83.8%, 0%, 44.3%)
CIE-LABlab(29.61, 54.24, -45.65)
CIE-LCHlch(29.61, 70.90, 319.92°)
OKLaboklab(41.77% 0.1326 -0.1289)
OKLCHoklch(41.77% 0.185 315.8)
XYZxyz(11.9982, 6.0770, 26.1269)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71178E #348E17
analogous
#35178E #71178E #8E1770
triadic
#71178E #8E7117 #178E71
tetradic
#71178E #8E3517 #348E17 #17708E
square
#71178E #8E3517 #348E17 #17708E
split-complementary
#71178E #708E17 #178E35
monochromatic
#1D0625 #470E59 #71178E #9B20C3 #B93FE0

Accessibility & contrast

On white

9.48
#71178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71178E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71178E#FFFFFF#000000##FFFFFF
##71178E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#13488C
Tritanopia (blue-blind)
#6F3454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71178e;
/* rgb */ color: rgb(113, 23, 142);
/* oklch */ color: oklch(41.8% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#9e61b0',
    500: '#71178e',
    950: '#000000',
  },
}
SCSS
$custom: #71178e;
$custom-light: #9e61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71178e",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 285.378,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.18494,
    "h": 315.8
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#71178E
secondary
#60C040
accent
#EF3965
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71178E

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

Preview Lab → · Contrast checker → · Palette generator →

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