#71217A#71217A

#71217A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.157 H 323.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#71217A
RGBrgb(113, 33, 122)
HSLhsl(294, 57%, 30%)
HSVhsv(294, 73%, 48%)
CMYKcmyk(7.4%, 73%, 0%, 52.2%)
CIE-LABlab(29.42, 46.88, -33.44)
CIE-LCHlch(29.42, 57.58, 324.50°)
OKLaboklab(41.2% 0.126 -0.0932)
OKLCHoklch(41.2% 0.157 323.5)
XYZxyz(10.8664, 6.0042, 18.9952)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71217A #2A7A21
analogous
#45217A #71217A #7A2156
triadic
#71217A #7A7121 #217A71
tetradic
#71217A #7A4521 #2A7A21 #21567A
square
#71217A #7A4521 #2A7A21 #21567A
split-complementary
#71217A #567A21 #217A45
monochromatic
#18071A #44144A #71217A #9E2EAA #C048CD

Accessibility & contrast

On white

9.54
#71217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#71217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71217A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71217A#FFFFFF#000000##FFFFFF
##71217A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7D
Deuteranopia (green-blind)
#304878
Tritanopia (blue-blind)
#73304B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71217a;
/* rgb */ color: rgb(113, 33, 122);
/* oklch */ color: oklch(41.2% 0.157 323.5);
Tailwind
colors: {
  custom: {
    50: '#9d64a1',
    500: '#71217a',
    950: '#000000',
  },
}
SCSS
$custom: #71217a;
$custom-light: #9d64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71217a",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 293.933,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.15674,
    "h": 323.5
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#71217A
secondary
#54AD4A
accent
#E14757
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #71217A

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

Preview Lab → · Contrast checker → · Palette generator →

#71217A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva