#71217F#71217F

#71217F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.161 H 321.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#71217F
RGBrgb(113, 33, 127)
HSLhsl(291, 59%, 31%)
HSVhsv(291, 74%, 50%)
CMYKcmyk(11%, 74%, 0%, 50.2%)
CIE-LABlab(29.74, 47.85, -36.08)
CIE-LCHlch(29.74, 59.93, 322.99°)
OKLaboklab(41.53% 0.1258 -0.1009)
OKLCHoklch(41.53% 0.161 321.3)
XYZxyz(11.1842, 6.1313, 20.6689)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71217F #2F7F21
analogous
#42217F #71217F #7F215E
triadic
#71217F #7F7121 #217F71
tetradic
#71217F #7F4221 #2F7F21 #215E7F
square
#71217F #7F4221 #2F7F21 #215E7F
split-complementary
#71217F #5E7F21 #217F42
monochromatic
#1B081E #46144E #71217F #9C2EB0 #BC4AD0

Accessibility & contrast

On white

9.43
#71217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#71217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71217F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71217F#FFFFFF#000000##FFFFFF
##71217F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#72334E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71217f;
/* rgb */ color: rgb(113, 33, 127);
/* oklch */ color: oklch(41.5% 0.161 321.3);
Tailwind
colors: {
  custom: {
    50: '#9d65a5',
    500: '#71217f',
    950: '#000000',
  },
}
SCSS
$custom: #71217f;
$custom-light: #9d65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#71217f",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 291.064,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.16126,
    "h": 321.3
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#71217F
secondary
#5AB24A
accent
#E2465D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71217F

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

Preview Lab → · Contrast checker → · Palette generator →

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