#71218A#71218A

#71218A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.171 H 316.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#71218A
RGBrgb(113, 33, 138)
HSLhsl(286, 61%, 34%)
HSVhsv(286, 76%, 54%)
CMYKcmyk(18.1%, 76.1%, 0%, 45.9%)
CIE-LABlab(30.48, 50.07, -41.76)
CIE-LCHlch(30.48, 65.19, 320.17°)
OKLaboklab(42.29% 0.1247 -0.1175)
OKLCHoklch(42.29% 0.171 316.7)
XYZxyz(11.9407, 6.4339, 24.6527)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71218A #3A8A21
analogous
#3C218A #71218A #8A216E
triadic
#71218A #8A7121 #218A71
tetradic
#71218A #8A3C21 #3A8A21 #216E8A
square
#71218A #8A3C21 #3A8A21 #216E8A
split-complementary
#71218A #6E8A21 #218A3C
monochromatic
#200927 #491559 #71218A #992DBB #B650D5

Accessibility & contrast

On white

9.18
#71218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71218A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71218A#FFFFFF#000000##FFFFFF
##71218A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#703754
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71218a;
/* rgb */ color: rgb(113, 33, 138);
/* oklch */ color: oklch(42.3% 0.171 316.7);
Tailwind
colors: {
  custom: {
    50: '#9d65ad',
    500: '#71218a',
    950: '#000000',
  },
}
SCSS
$custom: #71218a;
$custom-light: #9d65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71218a",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 285.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.17139,
    "h": 316.7
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#71218A
secondary
#68B94E
accent
#E5436A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71218A

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

Preview Lab → · Contrast checker → · Palette generator →

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