#71218C#71218C

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

Color values

HEX#71218C
RGBrgb(113, 33, 140)
HSLhsl(285, 62%, 34%)
HSVhsv(285, 76%, 55%)
CMYKcmyk(19.3%, 76.4%, 0%, 45.1%)
CIE-LABlab(30.62, 50.48, -42.77)
CIE-LCHlch(30.62, 66.16, 319.73°)
OKLaboklab(42.44% 0.1245 -0.1205)
OKLCHoklch(42.44% 0.173 315.9)
XYZxyz(12.0868, 6.4923, 25.4223)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71218C #3C8C21
analogous
#3C218C #71218C #8C2172
triadic
#71218C #8C7121 #218C71
tetradic
#71218C #8C3C21 #3C8C21 #21728C
square
#71218C #8C3C21 #3C8C21 #21728C
split-complementary
#71218C #728C21 #218C3C
monochromatic
#210A29 #49155A #71218C #992DBE #B551D6

Accessibility & contrast

On white

9.14
#71218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#71218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71218C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71218C#FFFFFF#000000##FFFFFF
##71218C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#1F4A8A
Tritanopia (blue-blind)
#6F3855
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71218c;
/* rgb */ color: rgb(113, 33, 140);
/* oklch */ color: oklch(42.4% 0.173 315.9);
Tailwind
colors: {
  custom: {
    50: '#9e65ae',
    500: '#71218c',
    950: '#000000',
  },
}
SCSS
$custom: #71218c;
$custom-light: #9e65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71218c",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 284.86,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.17326,
    "h": 315.9
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#71218C
secondary
#6AB94F
accent
#E5436C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71218C

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

Preview Lab → · Contrast checker → · Palette generator →

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