#71148E#71148E

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

Color values

HEX#71148E
RGBrgb(113, 20, 142)
HSLhsl(286, 75%, 32%)
HSVhsv(286, 86%, 56%)
CMYKcmyk(20.4%, 85.9%, 0%, 44.3%)
CIE-LABlab(29.32, 55.07, -46.11)
CIE-LCHlch(29.32, 71.83, 320.06°)
OKLaboklab(41.57% 0.1347 -0.1302)
OKLCHoklch(41.57% 0.187 316)
XYZxyz(11.9419, 5.9645, 26.1082)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71148E #318E14
analogous
#34148E #71148E #8E146E
triadic
#71148E #8E7114 #148E71
tetradic
#71148E #8E3414 #318E14 #146E8E
square
#71148E #8E3414 #318E14 #146E8E
split-complementary
#71148E #6E8E14 #148E34
monochromatic
#1C0523 #460C58 #71148E #9C1CC4 #BB39E3

Accessibility & contrast

On white

9.58
#71148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71148E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71148E#FFFFFF#000000##FFFFFF
##71148E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71148e;
/* rgb */ color: rgb(113, 20, 142);
/* oklch */ color: oklch(41.6% 0.187 316.0);
Tailwind
colors: {
  custom: {
    50: '#9e60b0',
    500: '#71148e',
    950: '#000000',
  },
}
SCSS
$custom: #71148e;
$custom-light: #9e60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71148e",
  "rgb": {
    "r": 113,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 285.738,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.18736,
    "h": 316
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#71148E
secondary
#5CC23C
accent
#F23663
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #71148E

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

Preview Lab → · Contrast checker → · Palette generator →

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