#71158D#71158D

#71158D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.186 H 316.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#71158D
RGBrgb(113, 21, 141)
HSLhsl(286, 74%, 32%)
HSVhsv(286, 85%, 55%)
CMYKcmyk(19.9%, 85.1%, 0%, 44.7%)
CIE-LABlab(29.34, 54.61, -45.46)
CIE-LCHlch(29.34, 71.06, 320.22°)
OKLaboklab(41.55% 0.1342 -0.1283)
OKLCHoklch(41.55% 0.186 316.3)
XYZxyz(11.8852, 5.9706, 25.7205)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71158D #318D15
analogous
#35158D #71158D #8D156D
triadic
#71158D #8D7115 #158D71
tetradic
#71158D #8D3515 #318D15 #156D8D
square
#71158D #8D3515 #318D15 #156D8D
split-complementary
#71158D #6D8D15 #158D35
monochromatic
#1C0522 #460D58 #71158D #9C1DC2 #BB3BE2

Accessibility & contrast

On white

9.57
#71158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#71158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71158D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71158D#FFFFFF#000000##FFFFFF
##71158D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#13488B
Tritanopia (blue-blind)
#6F3353
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71158d;
/* rgb */ color: rgb(113, 21, 141);
/* oklch */ color: oklch(41.6% 0.186 316.3);
Tailwind
colors: {
  custom: {
    50: '#9e61af',
    500: '#71158d',
    950: '#000000',
  },
}
SCSS
$custom: #71158d;
$custom-light: #9e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#71158d",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 286,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41554,
    "c": 0.18572,
    "h": 316.3
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#71158D
secondary
#5CC13D
accent
#F13762
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71158D

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

Preview Lab → · Contrast checker → · Palette generator →

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