#71217D#71217D

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

Color values

HEX#71217D
RGBrgb(113, 33, 125)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 74%, 49%)
CMYKcmyk(9.6%, 73.6%, 0%, 51%)
CIE-LABlab(29.61, 47.46, -35.03)
CIE-LCHlch(29.61, 58.99, 323.57°)
OKLaboklab(41.39% 0.1259 -0.0978)
OKLCHoklch(41.39% 0.159 322.1)
XYZxyz(11.0552, 6.0797, 19.9893)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71217D #2D7D21
analogous
#43217D #71217D #7D215B
triadic
#71217D #7D7121 #217D71
tetradic
#71217D #7D4321 #2D7D21 #215B7D
square
#71217D #7D4321 #2D7D21 #215B7D
split-complementary
#71217D #5B7D21 #217D43
monochromatic
#19071C #45144D #71217D #9D2EAD #BE49CF

Accessibility & contrast

On white

9.48
#71217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71217D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71217D#FFFFFF#000000##FFFFFF
##71217D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#72324D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71217d;
/* rgb */ color: rgb(113, 33, 125);
/* oklch */ color: oklch(41.4% 0.159 322.1);
Tailwind
colors: {
  custom: {
    50: '#9d65a3',
    500: '#71217d',
    950: '#000000',
  },
}
SCSS
$custom: #71217d;
$custom-light: #9d65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71217d",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 292.174,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.15945,
    "h": 322.1
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#71217D
secondary
#57B04A
accent
#E1465B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71217D

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

Preview Lab → · Contrast checker → · Palette generator →

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