#71148D#71148D

#71148D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.5% C 0.187 H 316.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#71148D
RGBrgb(113, 20, 141)
HSLhsl(286, 75%, 32%)
HSVhsv(286, 86%, 55%)
CMYKcmyk(19.9%, 85.8%, 0%, 44.7%)
CIE-LABlab(29.25, 54.87, -45.61)
CIE-LCHlch(29.25, 71.36, 320.27°)
OKLaboklab(41.49% 0.1349 -0.1288)
OKLCHoklch(41.49% 0.187 316.3)
XYZxyz(11.8672, 5.9346, 25.7145)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71148D #308D14
analogous
#35148D #71148D #8D146D
triadic
#71148D #8D7114 #148D71
tetradic
#71148D #8D3514 #308D14 #146D8D
square
#71148D #8D3514 #308D14 #146D8D
split-complementary
#71148D #6D8D14 #148D35
monochromatic
#1B0522 #460C57 #71148D #9C1CC3 #BB39E3

Accessibility & contrast

On white

9.60
#71148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71148D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71148D#FFFFFF#000000##FFFFFF
##71148D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71148d;
/* rgb */ color: rgb(113, 20, 141);
/* oklch */ color: oklch(41.5% 0.187 316.3);
Tailwind
colors: {
  custom: {
    50: '#9e60af',
    500: '#71148d',
    950: '#000000',
  },
}
SCSS
$custom: #71148d;
$custom-light: #9e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#71148d",
  "rgb": {
    "r": 113,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 286.116,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.18651,
    "h": 316.3
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#71148D
secondary
#5BC13C
accent
#F23661
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #71148D

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

Preview Lab → · Contrast checker → · Palette generator →

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