#71168F#71168F

#71168F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.187 H 315.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#71168F
RGBrgb(113, 22, 143)
HSLhsl(285, 73%, 32%)
HSVhsv(285, 85%, 56%)
CMYKcmyk(21%, 84.6%, 0%, 43.9%)
CIE-LABlab(29.58, 54.73, -46.30)
CIE-LCHlch(29.58, 71.69, 319.77°)
OKLaboklab(41.77% 0.1331 -0.1308)
OKLCHoklch(41.77% 0.187 315.5)
XYZxyz(12.0541, 6.0682, 26.5176)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71168F #348F16
analogous
#35168F #71168F #8F1671
triadic
#71168F #8F7116 #168F71
tetradic
#71168F #8F3516 #348F16 #16718F
square
#71168F #8F3516 #348F16 #16718F
split-complementary
#71168F #718F16 #168F35
monochromatic
#1D0625 #470E5A #71168F #9B1EC4 #B93EE1

Accessibility & contrast

On white

9.49
#71168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71168F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71168F#FFFFFF#000000##FFFFFF
##71168F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#6F3555
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71168f;
/* rgb */ color: rgb(113, 22, 143);
/* oklch */ color: oklch(41.8% 0.187 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e61b1',
    500: '#71168f',
    950: '#000000',
  },
}
SCSS
$custom: #71168f;
$custom-light: #9e61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#71168f",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 285.124,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.18664,
    "h": 315.5
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#71168F
secondary
#60C13F
accent
#F03865
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #71168F

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

Preview Lab → · Contrast checker → · Palette generator →

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