#71197C#71197C

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

Color values

HEX#71197C
RGBrgb(113, 25, 124)
HSLhsl(293, 66%, 29%)
HSVhsv(293, 80%, 49%)
CMYKcmyk(8.9%, 79.8%, 0%, 51.4%)
CIE-LABlab(28.54, 50.15, -36.11)
CIE-LCHlch(28.54, 61.79, 324.24°)
OKLaboklab(40.61% 0.1338 -0.1009)
OKLCHoklch(40.61% 0.168 323)
XYZxyz(10.7954, 5.6619, 19.5891)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71197C #247C19
analogous
#40197C #71197C #7C1956
triadic
#71197C #7C7119 #197C71
tetradic
#71197C #7C4019 #247C19 #19567C
square
#71197C #7C4019 #247C19 #19567C
split-complementary
#71197C #567C19 #197C40
monochromatic
#170519 #430F49 #71197C #9F23AF #C538D7

Accessibility & contrast

On white

9.85
#71197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#71197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71197C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71197C#FFFFFF#000000##FFFFFF
##71197C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#2A477A
Tritanopia (blue-blind)
#732D4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71197c;
/* rgb */ color: rgb(113, 25, 124);
/* oklch */ color: oklch(40.6% 0.168 323.0);
Tailwind
colors: {
  custom: {
    50: '#9d61a2',
    500: '#71197c',
    950: '#000000',
  },
}
SCSS
$custom: #71197c;
$custom-light: #9d61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71197c",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 293.333,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.16757,
    "h": 323
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#71197C
secondary
#4DB040
accent
#E93E51
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71197C

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

Preview Lab → · Contrast checker → · Palette generator →

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