#71218F#71218F

#71218F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.176 H 314.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#71218F
RGBrgb(113, 33, 143)
HSLhsl(284, 63%, 35%)
HSVhsv(284, 77%, 56%)
CMYKcmyk(21%, 76.9%, 0%, 43.9%)
CIE-LABlab(30.84, 51.10, -44.28)
CIE-LCHlch(30.84, 67.62, 319.09°)
OKLaboklab(42.65% 0.124 -0.1249)
OKLCHoklch(42.65% 0.176 314.8)
XYZxyz(12.3110, 6.5820, 26.6032)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71218F #3F8F21
analogous
#3A218F #71218F #8F2176
triadic
#71218F #8F7121 #218F71
tetradic
#71218F #8F3A21 #3F8F21 #21768F
square
#71218F #8F3A21 #3F8F21 #21768F
split-complementary
#71218F #768F21 #218F3A
monochromatic
#220A2C #4A165D #71218F #982CC1 #B353D7

Accessibility & contrast

On white

9.07
#71218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#71218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71218F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71218F#FFFFFF#000000##FFFFFF
##71218F1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#1B4B8D
Tritanopia (blue-blind)
#6E3A57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71218f;
/* rgb */ color: rgb(113, 33, 143);
/* oklch */ color: oklch(42.7% 0.176 314.8);
Tailwind
colors: {
  custom: {
    50: '#9e65b0',
    500: '#71218f',
    950: '#000000',
  },
}
SCSS
$custom: #71218f;
$custom-light: #9e65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71218f",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 283.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.17606,
    "h": 314.8
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#71218F
secondary
#6EBB51
accent
#E6426F
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #71218F

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

Preview Lab → · Contrast checker → · Palette generator →

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