#71216B#71216B

#71216B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.144 H 331.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#71216B
RGBrgb(113, 33, 107)
HSLhsl(305, 55%, 29%)
HSVhsv(305, 71%, 44%)
CMYKcmyk(0%, 70.8%, 5.3%, 55.7%)
CIE-LABlab(28.54, 44.12, -25.28)
CIE-LCHlch(28.54, 50.85, 330.19°)
OKLaboklab(40.28% 0.1257 -0.0695)
OKLCHoklch(40.28% 0.144 331.1)
XYZxyz(10.0077, 5.6607, 14.4726)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71216B #217127
analogous
#4F2171 #71216B #712143
triadic
#71216B #6B7121 #216B71
tetradic
#71216B #714F21 #217127 #214371
square
#71216B #714F21 #217127 #214371
split-complementary
#71216B #437121 #21714F
monochromatic
#180716 #42133E #71216B #A02F98 #C844BE

Accessibility & contrast

On white

9.85
#71216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71216B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71216B#FFFFFF#000000##FFFFFF
##71216B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6D
Deuteranopia (green-blind)
#394769
Tritanopia (blue-blind)
#762A43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71216b;
/* rgb */ color: rgb(113, 33, 107);
/* oklch */ color: oklch(40.3% 0.144 331.1);
Tailwind
colors: {
  custom: {
    50: '#9d6495',
    500: '#71216b',
    950: '#000000',
  },
}
SCSS
$custom: #71216b;
$custom-light: #9d6495;
$custom-dark: #000000;
JSON
{
  "hex": "#71216b",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 304.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.14364,
    "h": 331.1
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#71216B
secondary
#49A550
accent
#DE554A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71216B

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

Preview Lab → · Contrast checker → · Palette generator →

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