#71218E#71218E

#71218E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.175 H 315.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#71218E
RGBrgb(113, 33, 142)
HSLhsl(284, 62%, 34%)
HSVhsv(284, 77%, 56%)
CMYKcmyk(20.4%, 76.8%, 0%, 44.3%)
CIE-LABlab(30.76, 50.89, -43.78)
CIE-LCHlch(30.76, 67.13, 319.30°)
OKLaboklab(42.58% 0.1242 -0.1235)
OKLCHoklch(42.58% 0.175 315.2)
XYZxyz(12.2356, 6.5519, 26.2061)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71218E #3E8E21
analogous
#3B218E #71218E #8E2175
triadic
#71218E #8E7121 #218E71
tetradic
#71218E #8E3B21 #3E8E21 #21758E
square
#71218E #8E3B21 #3E8E21 #21758E
split-complementary
#71218E #758E21 #218E3B
monochromatic
#220A2B #49155C #71218E #992DC0 #B452D7

Accessibility & contrast

On white

9.09
#71218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#71218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71218E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71218E#FFFFFF#000000##FFFFFF
##71218E1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#1D4A8C
Tritanopia (blue-blind)
#6F3956
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71218e;
/* rgb */ color: rgb(113, 33, 142);
/* oklch */ color: oklch(42.6% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#9e65b0',
    500: '#71218e',
    950: '#000000',
  },
}
SCSS
$custom: #71218e;
$custom-light: #9e65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71218e",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 284.037,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.17512,
    "h": 315.2
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#71218E
secondary
#6DBA50
accent
#E5426E
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71218E

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

Preview Lab → · Contrast checker → · Palette generator →

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