#71198C#71198C

#71198C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.181 H 316.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#71198C
RGBrgb(113, 25, 140)
HSLhsl(286, 70%, 32%)
HSVhsv(286, 82%, 55%)
CMYKcmyk(19.3%, 82.1%, 0%, 45.1%)
CIE-LABlab(29.66, 53.24, -44.32)
CIE-LCHlch(29.66, 69.28, 320.23°)
OKLaboklab(41.76% 0.1315 -0.125)
OKLCHoklch(41.76% 0.181 316.5)
XYZxyz(11.8906, 6.0999, 25.3569)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71198C #348C19
analogous
#38198C #71198C #8C196E
triadic
#71198C #8C7119 #198C71
tetradic
#71198C #8C3819 #348C19 #196E8C
square
#71198C #8C3819 #348C19 #196E8C
split-complementary
#71198C #6E8C19 #198C38
monochromatic
#1D0624 #471058 #71198C #9B22C0 #B942DD

Accessibility & contrast

On white

9.46
#71198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71198C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71198C#FFFFFF#000000##FFFFFF
##71198C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#6F3453
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71198c;
/* rgb */ color: rgb(113, 25, 140);
/* oklch */ color: oklch(41.8% 0.181 316.5);
Tailwind
colors: {
  custom: {
    50: '#9e62ae',
    500: '#71198c',
    950: '#000000',
  },
}
SCSS
$custom: #71198c;
$custom-light: #9e62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71198c",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 285.913,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.18143,
    "h": 316.5
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#71198C
secondary
#60BE43
accent
#ED3B65
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71198C

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

Preview Lab → · Contrast checker → · Palette generator →

#71198C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva