#71198F#71198F

#71198F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.184 H 315.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#71198F
RGBrgb(113, 25, 143)
HSLhsl(285, 70%, 33%)
HSVhsv(285, 83%, 56%)
CMYKcmyk(21%, 82.5%, 0%, 43.9%)
CIE-LABlab(29.89, 53.85, -45.82)
CIE-LCHlch(29.89, 70.70, 319.61°)
OKLaboklab(41.99% 0.1309 -0.1294)
OKLCHoklch(41.99% 0.184 315.3)
XYZxyz(12.1148, 6.1896, 26.5378)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71198F #378F19
analogous
#36198F #71198F #8F1972
triadic
#71198F #8F7119 #198F71
tetradic
#71198F #8F3619 #378F19 #19728F
square
#71198F #8F3619 #378F19 #19728F
split-complementary
#71198F #728F19 #198F36
monochromatic
#1F0727 #48105B #71198F #9A22C3 #B744DE

Accessibility & contrast

On white

9.38
#71198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#71198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71198F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71198F#FFFFFF#000000##FFFFFF
##71198F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#6F3655
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71198f;
/* rgb */ color: rgb(113, 25, 143);
/* oklch */ color: oklch(42.0% 0.184 315.3);
Tailwind
colors: {
  custom: {
    50: '#9e62b0',
    500: '#71198f',
    950: '#000000',
  },
}
SCSS
$custom: #71198f;
$custom-light: #9e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71198f",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 284.746,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.18407,
    "h": 315.3
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#71198F
secondary
#64BF44
accent
#ED3B68
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #71198F

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

Preview Lab → · Contrast checker → · Palette generator →

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