#71198A#71198A

#71198A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.180 H 317.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#71198A
RGBrgb(113, 25, 138)
HSLhsl(287, 69%, 32%)
HSVhsv(287, 82%, 54%)
CMYKcmyk(18.1%, 81.9%, 0%, 45.9%)
CIE-LABlab(29.52, 52.85, -43.31)
CIE-LCHlch(29.52, 68.33, 320.66°)
OKLaboklab(41.61% 0.1319 -0.122)
OKLCHoklch(41.61% 0.18 317.2)
XYZxyz(11.7444, 6.0415, 24.5873)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71198A #328A19
analogous
#39198A #71198A #8A196B
triadic
#71198A #8A7119 #198A71
tetradic
#71198A #8A3919 #328A19 #196B8A
square
#71198A #8A3919 #328A19 #196B8A
split-complementary
#71198A #6B8A19 #198A39
monochromatic
#1C0622 #471056 #71198A #9B22BE #BA41DD

Accessibility & contrast

On white

9.51
#71198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#71198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71198A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71198A#FFFFFF#000000##FFFFFF
##71198A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#703352
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71198a;
/* rgb */ color: rgb(113, 25, 138);
/* oklch */ color: oklch(41.6% 0.180 317.2);
Tailwind
colors: {
  custom: {
    50: '#9e62ad',
    500: '#71198a',
    950: '#000000',
  },
}
SCSS
$custom: #71198a;
$custom-light: #9e62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71198a",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 286.726,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.17968,
    "h": 317.2
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#71198A
secondary
#5DBD42
accent
#EC3C63
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71198A

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

Preview Lab → · Contrast checker → · Palette generator →

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