#71207B#71207B

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

Color values

HEX#71207B
RGBrgb(113, 32, 123)
HSLhsl(293, 59%, 30%)
HSVhsv(293, 74%, 48%)
CMYKcmyk(8.1%, 74%, 0%, 51.8%)
CIE-LABlab(29.35, 47.47, -34.19)
CIE-LCHlch(29.35, 58.50, 324.24°)
OKLaboklab(41.16% 0.1271 -0.0954)
OKLCHoklch(41.16% 0.159 323.1)
XYZxyz(10.9014, 5.9744, 19.3140)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71207B #2A7B20
analogous
#44207B #71207B #7B2057
triadic
#71207B #7B7120 #207B71
tetradic
#71207B #7B4420 #2A7B20 #20577B
square
#71207B #7B4420 #2A7B20 #20577B
split-complementary
#71207B #577B20 #207B44
monochromatic
#18071A #44134A #71207B #9E2DAC #C046CF

Accessibility & contrast

On white

9.57
#71207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#71207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71207B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71207B#FFFFFF#000000##FFFFFF
##71207B1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#2F4879
Tritanopia (blue-blind)
#73304B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71207b;
/* rgb */ color: rgb(113, 32, 123);
/* oklch */ color: oklch(41.2% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#9d64a2',
    500: '#71207b',
    950: '#000000',
  },
}
SCSS
$custom: #71207b;
$custom-light: #9d64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71207b",
  "rgb": {
    "r": 113,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 293.407,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.15887,
    "h": 323.1
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#71207B
secondary
#54AE49
accent
#E24657
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71207B

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

Preview Lab → · Contrast checker → · Palette generator →

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