#71286B#71286B

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

Color values

HEX#71286B
RGBrgb(113, 40, 107)
HSLhsl(305, 48%, 30%)
HSVhsv(305, 65%, 44%)
CMYKcmyk(0%, 64.6%, 5.3%, 55.7%)
CIE-LABlab(29.64, 41.06, -23.55)
CIE-LCHlch(29.64, 47.33, 330.17°)
OKLaboklab(41.08% 0.1169 -0.0646)
OKLCHoklch(41.08% 0.134 331.1)
XYZxyz(10.2226, 6.0906, 14.5442)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71286B #28712E
analogous
#532871 #71286B #712846
triadic
#71286B #6B7128 #286B71
tetradic
#71286B #715328 #28712E #284671
square
#71286B #715328 #28712E #284671
split-complementary
#71286B #467128 #287153
monochromatic
#170815 #441840 #71286B #9E3896 #C252B8

Accessibility & contrast

On white

9.47
#71286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71286B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71286B#FFFFFF#000000##FFFFFF
##71286B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#3C4969
Tritanopia (blue-blind)
#752F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71286b;
/* rgb */ color: rgb(113, 40, 107);
/* oklch */ color: oklch(41.1% 0.134 331.1);
Tailwind
colors: {
  custom: {
    50: '#9c6795',
    500: '#71286b',
    950: '#000000',
  },
}
SCSS
$custom: #71286b;
$custom-light: #9c6795;
$custom-dark: #000000;
JSON
{
  "hex": "#71286b",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 304.932,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.13354,
    "h": 331.1
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#71286B
secondary
#52A358
accent
#D75C50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #71286B

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

Preview Lab → · Contrast checker → · Palette generator →

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