#71118E#71118E

#71118E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.190 H 316.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#71118E
RGBrgb(113, 17, 142)
HSLhsl(286, 79%, 31%)
HSVhsv(286, 88%, 56%)
CMYKcmyk(20.4%, 88%, 0%, 44.3%)
CIE-LABlab(29.07, 55.81, -46.52)
CIE-LCHlch(29.07, 72.66, 320.19°)
OKLaboklab(41.39% 0.1366 -0.1314)
OKLCHoklch(41.39% 0.19 316.1)
XYZxyz(11.8922, 5.8651, 26.0916)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71118E #2E8E11
analogous
#32118E #71118E #8E116C
triadic
#71118E #8E7111 #118E71
tetradic
#71118E #8E3211 #2E8E11 #116C8E
square
#71118E #8E3211 #2E8E11 #116C8E
split-complementary
#71118E #6C8E11 #118E32
monochromatic
#1A0421 #460A57 #71118E #9C18C5 #BD33E7

Accessibility & contrast

On white

9.66
#71118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#71118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71118E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71118E#FFFFFF#000000##FFFFFF
##71118E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#6F3253
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71118e;
/* rgb */ color: rgb(113, 17, 142);
/* oklch */ color: oklch(41.4% 0.190 316.1);
Tailwind
colors: {
  custom: {
    50: '#9e60b0',
    500: '#71118e',
    950: '#000000',
  },
}
SCSS
$custom: #71118e;
$custom-light: #9e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71118e",
  "rgb": {
    "r": 113,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 286.08,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.18953,
    "h": 316.1
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#71118E
secondary
#58C238
accent
#F53360
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #71118E

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

Preview Lab → · Contrast checker → · Palette generator →

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