#71177D#71177D

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

Color values

HEX#71177D
RGBrgb(113, 23, 125)
HSLhsl(293, 69%, 29%)
HSVhsv(293, 82%, 49%)
CMYKcmyk(9.6%, 81.6%, 0%, 51%)
CIE-LABlab(28.39, 50.96, -36.98)
CIE-LCHlch(28.39, 62.96, 324.03°)
OKLaboklab(40.53% 0.1354 -0.1035)
OKLCHoklch(40.53% 0.17 322.6)
XYZxyz(10.8177, 5.6048, 19.9101)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71177D #237D17
analogous
#3E177D #71177D #7D1756
triadic
#71177D #7D7117 #177D71
tetradic
#71177D #7D3E17 #237D17 #17567D
square
#71177D #7D3E17 #237D17 #17567D
split-complementary
#71177D #567D17 #177D3E
monochromatic
#17051A #420D49 #71177D #A021B1 #C635DA

Accessibility & contrast

On white

9.90
#71177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#71177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71177D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71177D#FFFFFF#000000##FFFFFF
##71177D1.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)
#003D80
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#732C4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71177d;
/* rgb */ color: rgb(113, 23, 125);
/* oklch */ color: oklch(40.5% 0.170 322.6);
Tailwind
colors: {
  custom: {
    50: '#9d61a3',
    500: '#71177d',
    950: '#000000',
  },
}
SCSS
$custom: #71177d;
$custom-light: #9d61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71177d",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 292.941,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40527,
    "c": 0.17038,
    "h": 322.6
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#71177D
secondary
#4CB23E
accent
#EC3C51
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71177D

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

Preview Lab → · Contrast checker → · Palette generator →

#71177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva