#71168E#71168E

#71168E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.7% C 0.186 H 315.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#71168E
RGBrgb(113, 22, 142)
HSLhsl(286, 73%, 32%)
HSVhsv(286, 85%, 56%)
CMYKcmyk(20.4%, 84.5%, 0%, 44.3%)
CIE-LABlab(29.51, 54.53, -45.81)
CIE-LCHlch(29.51, 71.22, 319.97°)
OKLaboklab(41.7% 0.1333 -0.1294)
OKLCHoklch(41.7% 0.186 315.9)
XYZxyz(11.9787, 6.0380, 26.1204)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71168E #338E16
analogous
#35168E #71168E #8E166F
triadic
#71168E #8E7116 #168E71
tetradic
#71168E #8E3516 #338E16 #166F8E
square
#71168E #8E3516 #338E16 #166F8E
split-complementary
#71168E #6F8E16 #168E35
monochromatic
#1D0624 #470E59 #71168E #9B1EC3 #B93DE1

Accessibility & contrast

On white

9.51
#71168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#71168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71168E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71168E#FFFFFF#000000##FFFFFF
##71168E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71168e;
/* rgb */ color: rgb(113, 22, 142);
/* oklch */ color: oklch(41.7% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#9e61b0',
    500: '#71168e',
    950: '#000000',
  },
}
SCSS
$custom: #71168e;
$custom-light: #9e61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71168e",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 285.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.18577,
    "h": 315.9
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#71168E
secondary
#5EC13F
accent
#F03864
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71168E

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

Preview Lab → · Contrast checker → · Palette generator →

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