#71217C#71217C

#71217C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.159 H 322.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#71217C
RGBrgb(113, 33, 124)
HSLhsl(293, 58%, 31%)
HSVhsv(293, 73%, 49%)
CMYKcmyk(8.9%, 73.4%, 0%, 51.4%)
CIE-LABlab(29.55, 47.27, -34.50)
CIE-LCHlch(29.55, 58.52, 323.88°)
OKLaboklab(41.33% 0.126 -0.0963)
OKLCHoklch(41.33% 0.159 322.6)
XYZxyz(10.9916, 6.0543, 19.6545)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71217C #2C7C21
analogous
#43217C #71217C #7C2159
triadic
#71217C #7C7121 #217C71
tetradic
#71217C #7C4321 #2C7C21 #21597C
square
#71217C #7C4321 #2C7C21 #21597C
split-complementary
#71217C #597C21 #217C43
monochromatic
#19071B #45144C #71217C #9D2EAC #BE49CF

Accessibility & contrast

On white

9.50
#71217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#71217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71217C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71217C#FFFFFF#000000##FFFFFF
##71217C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#73314C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71217c;
/* rgb */ color: rgb(113, 33, 124);
/* oklch */ color: oklch(41.3% 0.159 322.6);
Tailwind
colors: {
  custom: {
    50: '#9d65a2',
    500: '#71217c',
    950: '#000000',
  },
}
SCSS
$custom: #71217c;
$custom-light: #9d65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71217c",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 292.747,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41328,
    "c": 0.15854,
    "h": 322.6
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#71217C
secondary
#56AF4A
accent
#E14759
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71217C

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

Preview Lab → · Contrast checker → · Palette generator →

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