#71188E#71188E

#71188E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.184 H 315.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#71188E
RGBrgb(113, 24, 142)
HSLhsl(285, 71%, 33%)
HSVhsv(285, 83%, 56%)
CMYKcmyk(20.4%, 83.1%, 0%, 44.3%)
CIE-LABlab(29.71, 53.95, -45.49)
CIE-LCHlch(29.71, 70.57, 319.86°)
OKLaboklab(41.84% 0.1319 -0.1284)
OKLCHoklch(41.84% 0.184 315.8)
XYZxyz(12.0184, 6.1175, 26.1337)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71188E #358E18
analogous
#36188E #71188E #8E1870
triadic
#71188E #8E7118 #188E71
tetradic
#71188E #8E3618 #358E18 #18708E
square
#71188E #8E3618 #358E18 #18708E
split-complementary
#71188E #708E18 #188E36
monochromatic
#1E0625 #470F5A #71188E #9B21C2 #B841DF

Accessibility & contrast

On white

9.44
#71188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71188E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71188E#FFFFFF#000000##FFFFFF
##71188E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#14488C
Tritanopia (blue-blind)
#6F3554
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71188e;
/* rgb */ color: rgb(113, 24, 142);
/* oklch */ color: oklch(41.8% 0.184 315.8);
Tailwind
colors: {
  custom: {
    50: '#9e62b0',
    500: '#71188e',
    950: '#000000',
  },
}
SCSS
$custom: #71188e;
$custom-light: #9e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71188e",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 285.254,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.18408,
    "h": 315.8
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#71188E
secondary
#61C042
accent
#EE3A66
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71188E

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

Preview Lab → · Contrast checker → · Palette generator →

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