#71158E#71158E

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

Color values

HEX#71158E
RGBrgb(113, 21, 142)
HSLhsl(286, 74%, 32%)
HSVhsv(286, 85%, 56%)
CMYKcmyk(20.4%, 85.2%, 0%, 44.3%)
CIE-LABlab(29.41, 54.80, -45.96)
CIE-LCHlch(29.41, 71.53, 320.01°)
OKLaboklab(41.63% 0.134 -0.1298)
OKLCHoklch(41.63% 0.187 315.9)
XYZxyz(11.9599, 6.0005, 26.1142)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71158E #328E15
analogous
#35158E #71158E #8E156F
triadic
#71158E #8E7115 #158E71
tetradic
#71158E #8E3515 #328E15 #156F8E
square
#71158E #8E3515 #328E15 #156F8E
split-complementary
#71158E #6F8E15 #158E35
monochromatic
#1C0523 #470D59 #71158E #9B1DC3 #BA3BE2

Accessibility & contrast

On white

9.55
#71158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#71158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71158E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71158E#FFFFFF#000000##FFFFFF
##71158E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#6F3454
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71158e;
/* rgb */ color: rgb(113, 21, 142);
/* oklch */ color: oklch(41.6% 0.187 315.9);
Tailwind
colors: {
  custom: {
    50: '#9e61b0',
    500: '#71158e',
    950: '#000000',
  },
}
SCSS
$custom: #71158e;
$custom-light: #9e61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71158e",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 285.62,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41631,
    "c": 0.18658,
    "h": 315.9
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#71158E
secondary
#5DC23D
accent
#F13763
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71158E

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

Preview Lab → · Contrast checker → · Palette generator →

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