#71197A#71197A

#71197A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.166 H 323.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#71197A
RGBrgb(113, 25, 122)
HSLhsl(294, 66%, 29%)
HSVhsv(294, 80%, 48%)
CMYKcmyk(7.4%, 79.5%, 0%, 52.2%)
CIE-LABlab(28.41, 49.77, -35.05)
CIE-LCHlch(28.41, 60.88, 324.85°)
OKLaboklab(40.48% 0.1339 -0.0979)
OKLCHoklch(40.48% 0.166 323.8)
XYZxyz(10.6702, 5.6118, 18.9297)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71197A #227A19
analogous
#41197A #71197A #7A1953
triadic
#71197A #7A7119 #197A71
tetradic
#71197A #7A4119 #227A19 #19537A
square
#71197A #7A4119 #227A19 #19537A
split-complementary
#71197A #537A19 #197A41
monochromatic
#180519 #420F47 #71197A #A023AD #C737D6

Accessibility & contrast

On white

9.90
#71197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#71197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71197A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71197A#FFFFFF#000000##FFFFFF
##71197A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#732C49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71197a;
/* rgb */ color: rgb(113, 25, 122);
/* oklch */ color: oklch(40.5% 0.166 323.8);
Tailwind
colors: {
  custom: {
    50: '#9d61a1',
    500: '#71197a',
    950: '#000000',
  },
}
SCSS
$custom: #71197a;
$custom-light: #9d61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71197a",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 294.433,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40476,
    "c": 0.16587,
    "h": 323.8
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#71197A
secondary
#4AAF40
accent
#E93F4F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #71197A

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

Preview Lab → · Contrast checker → · Palette generator →

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