#71197B#71197B

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

Color values

HEX#71197B
RGBrgb(113, 25, 123)
HSLhsl(294, 66%, 29%)
HSVhsv(294, 80%, 48%)
CMYKcmyk(8.1%, 79.7%, 0%, 51.8%)
CIE-LABlab(28.48, 49.96, -35.58)
CIE-LCHlch(28.48, 61.34, 324.54°)
OKLaboklab(40.54% 0.1339 -0.0994)
OKLCHoklch(40.54% 0.167 323.4)
XYZxyz(10.7325, 5.6367, 19.2577)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71197B #237B19
analogous
#40197B #71197B #7B1954
triadic
#71197B #7B7119 #197B71
tetradic
#71197B #7B4019 #237B19 #19547B
square
#71197B #7B4019 #237B19 #19547B
split-complementary
#71197B #547B19 #197B40
monochromatic
#170519 #420F48 #71197B #A023AE #C638D7

Accessibility & contrast

On white

9.87
#71197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71197B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71197B#FFFFFF#000000##FFFFFF
##71197B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#732C4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71197b;
/* rgb */ color: rgb(113, 25, 123);
/* oklch */ color: oklch(40.5% 0.167 323.4);
Tailwind
colors: {
  custom: {
    50: '#9d61a2',
    500: '#71197b',
    950: '#000000',
  },
}
SCSS
$custom: #71197b;
$custom-light: #9d61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71197b",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 293.878,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40544,
    "c": 0.16672,
    "h": 323.4
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#71197B
secondary
#4CAF40
accent
#E93F50
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71197B

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

Preview Lab → · Contrast checker → · Palette generator →

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