#71178D#71178D

#71178D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.7% C 0.184 H 316.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#71178D
RGBrgb(113, 23, 141)
HSLhsl(286, 72%, 32%)
HSVhsv(286, 84%, 55%)
CMYKcmyk(19.9%, 83.7%, 0%, 44.7%)
CIE-LABlab(29.53, 54.04, -45.15)
CIE-LCHlch(29.53, 70.42, 320.12°)
OKLaboklab(41.69% 0.1328 -0.1274)
OKLCHoklch(41.69% 0.184 316.2)
XYZxyz(11.9234, 6.0471, 25.7333)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71178D #338D17
analogous
#36178D #71178D #8D176E
triadic
#71178D #8D7117 #178D71
tetradic
#71178D #8D3617 #338D17 #176E8D
square
#71178D #8D3617 #338D17 #176E8D
split-complementary
#71178D #6E8D17 #178D36
monochromatic
#1D0624 #470E58 #71178D #9B20C2 #B93FE0

Accessibility & contrast

On white

9.50
#71178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#71178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71178D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71178D#FFFFFF#000000##FFFFFF
##71178D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71178d;
/* rgb */ color: rgb(113, 23, 141);
/* oklch */ color: oklch(41.7% 0.184 316.2);
Tailwind
colors: {
  custom: {
    50: '#9e61af',
    500: '#71178d',
    950: '#000000',
  },
}
SCSS
$custom: #71178d;
$custom-light: #9e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#71178d",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 285.763,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.18407,
    "h": 316.2
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#71178D
secondary
#5EC040
accent
#EF3964
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71178D

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

Preview Lab → · Contrast checker → · Palette generator →

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