#71198D#71198D

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

Color values

HEX#71198D
RGBrgb(113, 25, 141)
HSLhsl(286, 70%, 33%)
HSVhsv(286, 82%, 55%)
CMYKcmyk(19.9%, 82.3%, 0%, 44.7%)
CIE-LABlab(29.74, 53.44, -44.82)
CIE-LCHlch(29.74, 69.75, 320.02°)
OKLaboklab(41.83% 0.1313 -0.1265)
OKLCHoklch(41.83% 0.182 316.1)
XYZxyz(11.9646, 6.1296, 25.7470)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71198D #358D19
analogous
#37198D #71198D #8D196F
triadic
#71198D #8D7119 #198D71
tetradic
#71198D #8D3719 #358D19 #196F8D
square
#71198D #8D3719 #358D19 #196F8D
split-complementary
#71198D #6F8D19 #198D37
monochromatic
#1E0725 #471059 #71198D #9B22C1 #B843DE

Accessibility & contrast

On white

9.43
#71198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71198D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71198D#FFFFFF#000000##FFFFFF
##71198D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#17488B
Tritanopia (blue-blind)
#6F3554
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71198d;
/* rgb */ color: rgb(113, 25, 141);
/* oklch */ color: oklch(41.8% 0.182 316.1);
Tailwind
colors: {
  custom: {
    50: '#9e62af',
    500: '#71198d',
    950: '#000000',
  },
}
SCSS
$custom: #71198d;
$custom-light: #9e62af;
$custom-dark: #000000;
JSON
{
  "hex": "#71198d",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 285.517,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.18231,
    "h": 316.1
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#71198D
secondary
#61BF43
accent
#ED3B66
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71198D

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

Preview Lab → · Contrast checker → · Palette generator →

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