#71197D#71197D

#71197D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.168 H 322.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#71197D
RGBrgb(113, 25, 125)
HSLhsl(293, 67%, 29%)
HSVhsv(293, 80%, 49%)
CMYKcmyk(9.6%, 80%, 0%, 51%)
CIE-LABlab(28.61, 50.33, -36.63)
CIE-LCHlch(28.61, 62.25, 323.95°)
OKLaboklab(40.68% 0.1337 -0.1025)
OKLCHoklch(40.68% 0.168 322.5)
XYZxyz(10.8590, 5.6873, 19.9239)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71197D #257D19
analogous
#3F197D #71197D #7D1957
triadic
#71197D #7D7119 #197D71
tetradic
#71197D #7D3F19 #257D19 #19577D
square
#71197D #7D3F19 #257D19 #19577D
split-complementary
#71197D #577D19 #197D3F
monochromatic
#17051A #430F4A #71197D #9F23B0 #C439D7

Accessibility & contrast

On white

9.83
#71197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#71197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71197D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71197D#FFFFFF#000000##FFFFFF
##71197D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#732D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71197d;
/* rgb */ color: rgb(113, 25, 125);
/* oklch */ color: oklch(40.7% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#9d61a3',
    500: '#71197d',
    950: '#000000',
  },
}
SCSS
$custom: #71197d;
$custom-light: #9d61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71197d",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 292.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.16842,
    "h": 322.5
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#71197D
secondary
#4EB140
accent
#EA3E53
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71197D

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

Preview Lab → · Contrast checker → · Palette generator →

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