#71286D#71286D

#71286D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.135 H 329.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#71286D
RGBrgb(113, 40, 109)
HSLhsl(303, 48%, 30%)
HSVhsv(303, 65%, 44%)
CMYKcmyk(0%, 64.6%, 3.5%, 55.7%)
CIE-LABlab(29.75, 41.42, -24.66)
CIE-LCHlch(29.75, 48.21, 329.23°)
OKLaboklab(41.19% 0.1171 -0.0678)
OKLCHoklch(41.19% 0.135 329.9)
XYZxyz(10.3291, 6.1331, 15.1048)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71286D #28712C
analogous
#512871 #71286D #712848
triadic
#71286D #6D7128 #286D71
tetradic
#71286D #715128 #28712C #284871
square
#71286D #715128 #28712C #284871
split-complementary
#71286D #487128 #287151
monochromatic
#170816 #441841 #71286D #9E3899 #C252BC

Accessibility & contrast

On white

9.43
#71286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#71286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71286D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71286D#FFFFFF#000000##FFFFFF
##71286D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22406F
Deuteranopia (green-blind)
#3B4A6B
Tritanopia (blue-blind)
#753046
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71286d;
/* rgb */ color: rgb(113, 40, 109);
/* oklch */ color: oklch(41.2% 0.135 329.9);
Tailwind
colors: {
  custom: {
    50: '#9c6797',
    500: '#71286d',
    950: '#000000',
  },
}
SCSS
$custom: #71286d;
$custom-light: #9c6797;
$custom-dark: #000000;
JSON
{
  "hex": "#71286d",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 303.288,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.13531,
    "h": 329.9
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#71286D
secondary
#52A356
accent
#D75850
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #71286D

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

Preview Lab → · Contrast checker → · Palette generator →

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