#71197E#71197E

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

Color values

HEX#71197E
RGBrgb(113, 25, 126)
HSLhsl(292, 67%, 30%)
HSVhsv(292, 80%, 49%)
CMYKcmyk(10.3%, 80.2%, 0%, 50.6%)
CIE-LABlab(28.68, 50.52, -37.16)
CIE-LCHlch(28.68, 62.71, 323.67°)
OKLaboklab(40.75% 0.1336 -0.104)
OKLCHoklch(40.75% 0.169 322.1)
XYZxyz(10.9232, 5.7130, 20.2620)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71197E #267E19
analogous
#3F197E #71197E #7E1959
triadic
#71197E #7E7119 #197E71
tetradic
#71197E #7E3F19 #267E19 #19597E
square
#71197E #7E3F19 #267E19 #19597E
split-complementary
#71197E #597E19 #197E3F
monochromatic
#17051A #430F4B #71197E #9F23B1 #C33AD8

Accessibility & contrast

On white

9.80
#71197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71197E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71197E#FFFFFF#000000##FFFFFF
##71197E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#722E4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71197e;
/* rgb */ color: rgb(113, 25, 126);
/* oklch */ color: oklch(40.7% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#9d61a4',
    500: '#71197e',
    950: '#000000',
  },
}
SCSS
$custom: #71197e;
$custom-light: #9d61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71197e",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 292.277,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.16928,
    "h": 322.1
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#71197E
secondary
#4FB241
accent
#EA3E54
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #71197E

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

Preview Lab → · Contrast checker → · Palette generator →

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