#71217B#71217B

#71217B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.158 H 323.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#71217B
RGBrgb(113, 33, 123)
HSLhsl(293, 58%, 31%)
HSVhsv(293, 73%, 48%)
CMYKcmyk(8.1%, 73.2%, 0%, 51.8%)
CIE-LABlab(29.49, 47.08, -33.97)
CIE-LCHlch(29.49, 58.05, 324.19°)
OKLaboklab(41.26% 0.126 -0.0947)
OKLCHoklch(41.26% 0.158 323.1)
XYZxyz(10.9287, 6.0291, 19.3231)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71217B #2B7B21
analogous
#44217B #71217B #7B2158
triadic
#71217B #7B7121 #217B71
tetradic
#71217B #7B4421 #2B7B21 #21587B
square
#71217B #7B4421 #2B7B21 #21587B
split-complementary
#71217B #587B21 #217B44
monochromatic
#18071A #45144B #71217B #9D2EAB #BF48CE

Accessibility & contrast

On white

9.52
#71217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71217B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71217B#FFFFFF#000000##FFFFFF
##71217B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407E
Deuteranopia (green-blind)
#2F4979
Tritanopia (blue-blind)
#73314C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71217b;
/* rgb */ color: rgb(113, 33, 123);
/* oklch */ color: oklch(41.3% 0.158 323.1);
Tailwind
colors: {
  custom: {
    50: '#9d65a2',
    500: '#71217b',
    950: '#000000',
  },
}
SCSS
$custom: #71217b;
$custom-light: #9d65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71217b",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 293.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.15764,
    "h": 323.1
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#71217B
secondary
#55AE4A
accent
#E14758
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71217B

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

Preview Lab → · Contrast checker → · Palette generator →

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