#71218B#71218B

#71218B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.172 H 316.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#71218B
RGBrgb(113, 33, 139)
HSLhsl(285, 62%, 34%)
HSVhsv(285, 76%, 55%)
CMYKcmyk(18.7%, 76.3%, 0%, 45.5%)
CIE-LABlab(30.55, 50.27, -42.27)
CIE-LCHlch(30.55, 65.68, 319.95°)
OKLaboklab(42.36% 0.1246 -0.119)
OKLCHoklch(42.36% 0.172 316.3)
XYZxyz(12.0134, 6.4630, 25.0358)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71218B #3B8B21
analogous
#3C218B #71218B #8B2170
triadic
#71218B #8B7121 #218B71
tetradic
#71218B #8B3C21 #3B8B21 #21708B
square
#71218B #8B3C21 #3B8B21 #21708B
split-complementary
#71218B #708B21 #218B3C
monochromatic
#210A28 #49155A #71218B #992DBC #B551D6

Accessibility & contrast

On white

9.16
#71218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#71218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71218B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71218B#FFFFFF#000000##FFFFFF
##71218B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#6F3855
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71218b;
/* rgb */ color: rgb(113, 33, 139);
/* oklch */ color: oklch(42.4% 0.172 316.3);
Tailwind
colors: {
  custom: {
    50: '#9d65ad',
    500: '#71218b',
    950: '#000000',
  },
}
SCSS
$custom: #71218b;
$custom-light: #9d65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71218b",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 285.283,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42363,
    "c": 0.17232,
    "h": 316.3
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#71218B
secondary
#69B94F
accent
#E5436B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71218B

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

Preview Lab → · Contrast checker → · Palette generator →

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