#71148A#71148A

#71148A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.3% C 0.184 H 317.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#71148A
RGBrgb(113, 20, 138)
HSLhsl(287, 75%, 31%)
HSVhsv(287, 86%, 54%)
CMYKcmyk(18.1%, 85.5%, 0%, 45.9%)
CIE-LABlab(29.02, 54.29, -44.11)
CIE-LCHlch(29.02, 69.95, 320.90°)
OKLaboklab(41.26% 0.1356 -0.1244)
OKLCHoklch(41.26% 0.184 317.5)
XYZxyz(11.6470, 5.8465, 24.5548)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71148A #2D8A14
analogous
#36148A #71148A #8A1468
triadic
#71148A #8A7114 #148A71
tetradic
#71148A #8A3614 #2D8A14 #14688A
square
#71148A #8A3614 #2D8A14 #14688A
split-complementary
#71148A #688A14 #148A36
monochromatic
#19051F #450C55 #71148A #9D1CBF #BE36E2

Accessibility & contrast

On white

9.68
#71148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#71148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71148A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71148A#FFFFFF#000000##FFFFFF
##71148A1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#703151
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71148a;
/* rgb */ color: rgb(113, 20, 138);
/* oklch */ color: oklch(41.3% 0.184 317.5);
Tailwind
colors: {
  custom: {
    50: '#9e60ad',
    500: '#71148a',
    950: '#000000',
  },
}
SCSS
$custom: #71148a;
$custom-light: #9e60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71148a",
  "rgb": {
    "r": 113,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 287.288,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.18396,
    "h": 317.5
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#71148A
secondary
#57BE3C
accent
#F1365E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #71148A

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

Preview Lab → · Contrast checker → · Palette generator →

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