#71197F#71197F

#71197F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.170 H 321.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#71197F
RGBrgb(113, 25, 127)
HSLhsl(292, 67%, 30%)
HSVhsv(292, 80%, 50%)
CMYKcmyk(11%, 80.3%, 0%, 50.2%)
CIE-LABlab(28.74, 50.71, -37.68)
CIE-LCHlch(28.74, 63.18, 323.39°)
OKLaboklab(40.82% 0.1335 -0.1055)
OKLCHoklch(40.82% 0.17 321.7)
XYZxyz(10.9880, 5.7389, 20.6035)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71197F #277F19
analogous
#3E197F #71197F #7F195A
triadic
#71197F #7F7119 #197F71
tetradic
#71197F #7F3E19 #277F19 #195A7F
square
#71197F #7F3E19 #277F19 #195A7F
split-complementary
#71197F #5A7F19 #197F3E
monochromatic
#17051A #440F4C #71197F #9E23B2 #C33AD8

Accessibility & contrast

On white

9.78
#71197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#71197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71197F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71197F#FFFFFF#000000##FFFFFF
##71197F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#722E4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71197f;
/* rgb */ color: rgb(113, 25, 127);
/* oklch */ color: oklch(40.8% 0.170 321.7);
Tailwind
colors: {
  custom: {
    50: '#9d61a5',
    500: '#71197f',
    950: '#000000',
  },
}
SCSS
$custom: #71197f;
$custom-light: #9d61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#71197f",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 291.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.17013,
    "h": 321.7
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#71197F
secondary
#50B341
accent
#EA3E55
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #71197F

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

Preview Lab → · Contrast checker → · Palette generator →

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