#71177B#71177B

#71177B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.169 H 323.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#71177B
RGBrgb(113, 23, 123)
HSLhsl(294, 68%, 29%)
HSVhsv(294, 81%, 48%)
CMYKcmyk(8.1%, 81.3%, 0%, 51.8%)
CIE-LABlab(28.26, 50.59, -35.93)
CIE-LCHlch(28.26, 62.05, 324.62°)
OKLaboklab(40.39% 0.1356 -0.1004)
OKLCHoklch(40.39% 0.169 323.5)
XYZxyz(10.6913, 5.5542, 19.2440)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71177B #217B17
analogous
#3F177B #71177B #7B1753
triadic
#71177B #7B7117 #177B71
tetradic
#71177B #7B3F17 #217B17 #17537B
square
#71177B #7B3F17 #217B17 #17537B
split-complementary
#71177B #537B17 #177B3F
monochromatic
#18051A #420D47 #71177B #A021AF #C833D9

Accessibility & contrast

On white

9.95
#71177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#71177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71177B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71177B#FFFFFF#000000##FFFFFF
##71177B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#732B49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71177b;
/* rgb */ color: rgb(113, 23, 123);
/* oklch */ color: oklch(40.4% 0.169 323.5);
Tailwind
colors: {
  custom: {
    50: '#9d60a2',
    500: '#71177b',
    950: '#000000',
  },
}
SCSS
$custom: #71177b;
$custom-light: #9d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71177b",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 294,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.16871,
    "h": 323.5
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#71177B
secondary
#49B03E
accent
#EB3C4E
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71177B

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

Preview Lab → · Contrast checker → · Palette generator →

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