#71188D#71188D

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

Color values

HEX#71188D
RGBrgb(113, 24, 141)
HSLhsl(286, 71%, 32%)
HSVhsv(286, 83%, 55%)
CMYKcmyk(19.9%, 83%, 0%, 44.7%)
CIE-LABlab(29.63, 53.75, -44.99)
CIE-LCHlch(29.63, 70.09, 320.07°)
OKLaboklab(41.76% 0.1321 -0.127)
OKLCHoklch(41.76% 0.183 316.1)
XYZxyz(11.9436, 6.0876, 25.7400)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71188D #348D18
analogous
#37188D #71188D #8D186F
triadic
#71188D #8D7118 #188D71
tetradic
#71188D #8D3718 #348D18 #186F8D
square
#71188D #8D3718 #348D18 #186F8D
split-complementary
#71188D #6F8D18 #188D37
monochromatic
#1D0624 #470F59 #71188D #9B21C1 #B941DF

Accessibility & contrast

On white

9.47
#71188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71188D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71188D#FFFFFF#000000##FFFFFF
##71188D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#16488B
Tritanopia (blue-blind)
#6F3454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71188d;
/* rgb */ color: rgb(113, 24, 141);
/* oklch */ color: oklch(41.8% 0.183 316.1);
Tailwind
colors: {
  custom: {
    50: '#9e62af',
    500: '#71188d',
    950: '#000000',
  },
}
SCSS
$custom: #71188d;
$custom-light: #9e62af;
$custom-dark: #000000;
JSON
{
  "hex": "#71188d",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 285.641,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.1832,
    "h": 316.1
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#71188D
secondary
#60BF42
accent
#EE3A65
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71188D

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

Preview Lab → · Contrast checker → · Palette generator →

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