#71198E#71198E

#71198E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.183 H 315.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#71198E
RGBrgb(113, 25, 142)
HSLhsl(285, 70%, 33%)
HSVhsv(285, 82%, 56%)
CMYKcmyk(20.4%, 82.4%, 0%, 44.3%)
CIE-LABlab(29.81, 53.65, -45.32)
CIE-LCHlch(29.81, 70.23, 319.81°)
OKLaboklab(41.91% 0.1311 -0.1279)
OKLCHoklch(41.91% 0.183 315.7)
XYZxyz(12.0394, 6.1594, 26.1407)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71198E #368E19
analogous
#36198E #71198E #8E1971
triadic
#71198E #8E7119 #198E71
tetradic
#71198E #8E3619 #368E19 #19718E
square
#71198E #8E3619 #368E19 #19718E
split-complementary
#71198E #718E19 #198E36
monochromatic
#1E0726 #48105A #71198E #9A22C2 #B843DE

Accessibility & contrast

On white

9.41
#71198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#71198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71198E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71198E#FFFFFF#000000##FFFFFF
##71198E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#15488C
Tritanopia (blue-blind)
#6F3554
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71198e;
/* rgb */ color: rgb(113, 25, 142);
/* oklch */ color: oklch(41.9% 0.183 315.7);
Tailwind
colors: {
  custom: {
    50: '#9e62b0',
    500: '#71198e',
    950: '#000000',
  },
}
SCSS
$custom: #71198e;
$custom-light: #9e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71198e",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 285.128,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41909,
    "c": 0.18319,
    "h": 315.7
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#71198E
secondary
#62BF44
accent
#ED3B67
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71198E

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

Preview Lab → · Contrast checker → · Palette generator →

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