#71288E#71288E

#71288E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.167 H 314.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#71288E
RGBrgb(113, 40, 142)
HSLhsl(283, 56%, 36%)
HSVhsv(283, 72%, 56%)
CMYKcmyk(20.4%, 71.8%, 0%, 44.3%)
CIE-LABlab(31.77, 48.05, -42.17)
CIE-LCHlch(31.77, 63.93, 318.73°)
OKLaboklab(43.29% 0.117 -0.1188)
OKLCHoklch(43.29% 0.167 314.6)
XYZxyz(12.4505, 6.9817, 26.2777)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71288E #458E28
analogous
#3E288E #71288E #8E2878
triadic
#71288E #8E7128 #288E71
tetradic
#71288E #8E3E28 #458E28 #28788E
square
#71288E #8E3E28 #458E28 #28788E
split-complementary
#71288E #788E28 #288E3E
monochromatic
#250D2F #4B1B5E #71288E #9735BE #B15FD2

Accessibility & contrast

On white

8.76
#71288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#71288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71288E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71288E#FFFFFF#000000##FFFFFF
##71288E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#6E3D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71288e;
/* rgb */ color: rgb(113, 40, 142);
/* oklch */ color: oklch(43.3% 0.167 314.6);
Tailwind
colors: {
  custom: {
    50: '#9d69b0',
    500: '#71288e',
    950: '#000000',
  },
}
SCSS
$custom: #71288e;
$custom-light: #9d69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71288e",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 282.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.16674,
    "h": 314.6
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#71288E
secondary
#75B75B
accent
#DF4873
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #71288E

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

Preview Lab → · Contrast checker → · Palette generator →

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