#71217E#71217E

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

Color values

HEX#71217E
RGBrgb(113, 33, 126)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 74%, 49%)
CMYKcmyk(10.3%, 73.8%, 0%, 50.6%)
CIE-LABlab(29.68, 47.66, -35.55)
CIE-LCHlch(29.68, 59.46, 323.28°)
OKLaboklab(41.46% 0.1259 -0.0994)
OKLCHoklch(41.46% 0.16 321.7)
XYZxyz(11.1194, 6.1054, 20.3274)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71217E #2E7E21
analogous
#42217E #71217E #7E215C
triadic
#71217E #7E7121 #217E71
tetradic
#71217E #7E4221 #2E7E21 #215C7E
square
#71217E #7E4221 #2E7E21 #215C7E
split-complementary
#71217E #5C7E21 #217E42
monochromatic
#1A081D #46144E #71217E #9C2EAE #BD4AD0

Accessibility & contrast

On white

9.46
#71217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71217E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71217E#FFFFFF#000000##FFFFFF
##71217E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71217e;
/* rgb */ color: rgb(113, 33, 126);
/* oklch */ color: oklch(41.5% 0.160 321.7);
Tailwind
colors: {
  custom: {
    50: '#9d65a4',
    500: '#71217e',
    950: '#000000',
  },
}
SCSS
$custom: #71217e;
$custom-light: #9d65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71217e",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 291.613,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.16035,
    "h": 321.7
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#71217E
secondary
#58B14A
accent
#E2465C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71217E

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

Preview Lab → · Contrast checker → · Palette generator →

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