#71286E#71286E

#71286E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.2% C 0.136 H 329.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#71286E
RGBrgb(113, 40, 110)
HSLhsl(302, 48%, 30%)
HSVhsv(302, 65%, 44%)
CMYKcmyk(0%, 64.6%, 2.7%, 55.7%)
CIE-LABlab(29.80, 41.61, -25.22)
CIE-LCHlch(29.80, 48.65, 328.78°)
OKLaboklab(41.24% 0.1172 -0.0694)
OKLCHoklch(41.24% 0.136 329.4)
XYZxyz(10.3832, 6.1548, 15.3899)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71286E #28712B
analogous
#502871 #71286E #712849
triadic
#71286E #6E7128 #286E71
tetradic
#71286E #715028 #28712B #284971
square
#71286E #715028 #28712B #284971
split-complementary
#71286E #497128 #287150
monochromatic
#170816 #441842 #71286E #9E389A #C252BD

Accessibility & contrast

On white

9.41
#71286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71286E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71286E#FFFFFF#000000##FFFFFF
##71286E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214070
Deuteranopia (green-blind)
#3B4A6C
Tritanopia (blue-blind)
#753047
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71286e;
/* rgb */ color: rgb(113, 40, 110);
/* oklch */ color: oklch(41.2% 0.136 329.4);
Tailwind
colors: {
  custom: {
    50: '#9c6898',
    500: '#71286e',
    950: '#000000',
  },
}
SCSS
$custom: #71286e;
$custom-light: #9c6898;
$custom-dark: #000000;
JSON
{
  "hex": "#71286e",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 302.466,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.13621,
    "h": 329.4
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#71286E
secondary
#52A355
accent
#D75650
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #71286E

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

Preview Lab → · Contrast checker → · Palette generator →

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