#71166D#71166D

#71166D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.158 H 330.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#71166D
RGBrgb(113, 22, 109)
HSLhsl(303, 67%, 26%)
HSVhsv(303, 81%, 44%)
CMYKcmyk(0%, 80.5%, 3.5%, 55.7%)
CIE-LABlab(27.27, 48.42, -28.57)
CIE-LCHlch(27.27, 56.22, 329.45°)
OKLaboklab(39.4% 0.1371 -0.079)
OKLCHoklch(39.4% 0.158 330.1)
XYZxyz(9.8572, 5.1894, 14.9475)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71166D #16711A
analogous
#481671 #71166D #711640
triadic
#71166D #6D7116 #166D71
tetradic
#71166D #714816 #16711A #164071
square
#71166D #714816 #16711A #164071
split-complementary
#71166D #407116 #167148
monochromatic
#1A0519 #3E0C3C #71166D #A4209E #D62CCE

Accessibility & contrast

On white

10.31
#71166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#71166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71166D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71166D#FFFFFF#000000##FFFFFF
##71166D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07396F
Deuteranopia (green-blind)
#33456B
Tritanopia (blue-blind)
#752341
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71166d;
/* rgb */ color: rgb(113, 22, 109);
/* oklch */ color: oklch(39.4% 0.158 330.1);
Tailwind
colors: {
  custom: {
    50: '#9d5f97',
    500: '#71166d',
    950: '#000000',
  },
}
SCSS
$custom: #71166d;
$custom-light: #9d5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#71166d",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 302.637,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39401,
    "c": 0.15825,
    "h": 330.1
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#71166D
secondary
#3CA741
accent
#EA453E
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71166D

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

Preview Lab → · Contrast checker → · Palette generator →

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