#71218D#71218D

#71218D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.174 H 315.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#71218D
RGBrgb(113, 33, 141)
HSLhsl(284, 62%, 34%)
HSVhsv(284, 77%, 55%)
CMYKcmyk(19.9%, 76.6%, 0%, 44.7%)
CIE-LABlab(30.69, 50.69, -43.28)
CIE-LCHlch(30.69, 66.65, 319.51°)
OKLaboklab(42.51% 0.1243 -0.122)
OKLCHoklch(42.51% 0.174 315.5)
XYZxyz(12.1609, 6.5220, 25.8124)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71218D #3D8D21
analogous
#3B218D #71218D #8D2173
triadic
#71218D #8D7121 #218D71
tetradic
#71218D #8D3B21 #3D8D21 #21738D
square
#71218D #8D3B21 #3D8D21 #21738D
split-complementary
#71218D #738D21 #218D3B
monochromatic
#220A2A #49155B #71218D #992DBF #B452D6

Accessibility & contrast

On white

9.11
#71218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71218D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71218D#FFFFFF#000000##FFFFFF
##71218D1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71218d;
/* rgb */ color: rgb(113, 33, 141);
/* oklch */ color: oklch(42.5% 0.174 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e65af',
    500: '#71218d',
    950: '#000000',
  },
}
SCSS
$custom: #71218d;
$custom-light: #9e65af;
$custom-dark: #000000;
JSON
{
  "hex": "#71218d",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 284.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.17419,
    "h": 315.5
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#71218D
secondary
#6BBA50
accent
#E5436D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71218D

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

Preview Lab → · Contrast checker → · Palette generator →

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