#71168D#71168D

#71168D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.185 H 316.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#71168D
RGBrgb(113, 22, 141)
HSLhsl(286, 73%, 32%)
HSVhsv(286, 84%, 55%)
CMYKcmyk(19.9%, 84.4%, 0%, 44.7%)
CIE-LABlab(29.43, 54.33, -45.31)
CIE-LCHlch(29.43, 70.74, 320.17°)
OKLaboklab(41.62% 0.1335 -0.1279)
OKLCHoklch(41.62% 0.185 316.2)
XYZxyz(11.9039, 6.0081, 25.7268)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71168D #328D16
analogous
#35168D #71168D #8D166E
triadic
#71168D #8D7116 #168D71
tetradic
#71168D #8D3516 #328D16 #166E8D
square
#71168D #8D3516 #328D16 #166E8D
split-complementary
#71168D #6E8D16 #168D35
monochromatic
#1C0523 #470E58 #71168D #9B1EC2 #BA3DE1

Accessibility & contrast

On white

9.54
#71168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#71168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71168D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71168D#FFFFFF#000000##FFFFFF
##71168D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#6F3453
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71168d;
/* rgb */ color: rgb(113, 22, 141);
/* oklch */ color: oklch(41.6% 0.185 316.2);
Tailwind
colors: {
  custom: {
    50: '#9e61af',
    500: '#71168d',
    950: '#000000',
  },
}
SCSS
$custom: #71168d;
$custom-light: #9e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#71168d",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 285.882,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.18491,
    "h": 316.2
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#71168D
secondary
#5DC13E
accent
#F03863
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71168D

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

Preview Lab → · Contrast checker → · Palette generator →

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