#71138E#71138E

#71138E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.5% C 0.188 H 316.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#71138E
RGBrgb(113, 19, 142)
HSLhsl(286, 76%, 32%)
HSVhsv(286, 87%, 56%)
CMYKcmyk(20.4%, 86.6%, 0%, 44.3%)
CIE-LABlab(29.23, 55.33, -46.25)
CIE-LCHlch(29.23, 72.11, 320.11°)
OKLaboklab(41.51% 0.1353 -0.1306)
OKLCHoklch(41.51% 0.188 316)
XYZxyz(11.9246, 5.9299, 26.1024)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71138E #308E13
analogous
#34138E #71138E #8E136E
triadic
#71138E #8E7113 #138E71
tetradic
#71138E #8E3413 #308E13 #136E8E
square
#71138E #8E3413 #308E13 #136E8E
split-complementary
#71138E #6E8E13 #138E34
monochromatic
#1B0522 #460C58 #71138E #9C1AC4 #BB37E4

Accessibility & contrast

On white

9.61
#71138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#71138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71138E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71138E#FFFFFF#000000##FFFFFF
##71138E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#0F478C
Tritanopia (blue-blind)
#6F3353
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71138e;
/* rgb */ color: rgb(113, 19, 142);
/* oklch */ color: oklch(41.5% 0.188 316.0);
Tailwind
colors: {
  custom: {
    50: '#9e60b0',
    500: '#71138e',
    950: '#000000',
  },
}
SCSS
$custom: #71138e;
$custom-light: #9e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71138e",
  "rgb": {
    "r": 113,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 285.854,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.18811,
    "h": 316
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#71138E
secondary
#5BC23B
accent
#F33562
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #71138E

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

Preview Lab → · Contrast checker → · Palette generator →

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