#71286C#71286C

#71286C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.1% C 0.134 H 330.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#71286C
RGBrgb(113, 40, 108)
HSLhsl(304, 48%, 30%)
HSVhsv(304, 65%, 44%)
CMYKcmyk(0%, 64.6%, 4.4%, 55.7%)
CIE-LABlab(29.69, 41.24, -24.11)
CIE-LCHlch(29.69, 47.77, 329.69°)
OKLaboklab(41.13% 0.117 -0.0662)
OKLCHoklch(41.13% 0.134 330.5)
XYZxyz(10.2756, 6.1117, 14.8229)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71286C #28712D
analogous
#522871 #71286C #712847
triadic
#71286C #6C7128 #286C71
tetradic
#71286C #715228 #28712D #284771
square
#71286C #715228 #28712D #284771
split-complementary
#71286C #477128 #287152
monochromatic
#170816 #441841 #71286C #9E3897 #C252BA

Accessibility & contrast

On white

9.45
#71286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71286C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71286C#FFFFFF#000000##FFFFFF
##71286C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6E
Deuteranopia (green-blind)
#3C4A6A
Tritanopia (blue-blind)
#752F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71286c;
/* rgb */ color: rgb(113, 40, 108);
/* oklch */ color: oklch(41.1% 0.134 330.5);
Tailwind
colors: {
  custom: {
    50: '#9c6796',
    500: '#71286c',
    950: '#000000',
  },
}
SCSS
$custom: #71286c;
$custom-light: #9c6796;
$custom-dark: #000000;
JSON
{
  "hex": "#71286c",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 304.11,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.41131,
    "c": 0.13442,
    "h": 330.5
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#71286C
secondary
#52A357
accent
#D75A50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #71286C

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

Preview Lab → · Contrast checker → · Palette generator →

#71286C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva