#71276B#71276B

#71276B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.135 H 331.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#71276B
RGBrgb(113, 39, 107)
HSLhsl(305, 49%, 30%)
HSVhsv(305, 65%, 44%)
CMYKcmyk(0%, 65.5%, 5.3%, 55.7%)
CIE-LABlab(29.47, 41.52, -23.81)
CIE-LCHlch(29.47, 47.86, 330.17°)
OKLaboklab(40.95% 0.1182 -0.0653)
OKLCHoklch(40.95% 0.135 331.1)
XYZxyz(10.1894, 6.0240, 14.5331)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71276B #27712D
analogous
#522771 #71276B #712746
triadic
#71276B #6B7127 #276B71
tetradic
#71276B #715227 #27712D #274671
square
#71276B #715227 #27712D #274671
split-complementary
#71276B #467127 #277152
monochromatic
#170816 #441740 #71276B #9E3796 #C350B9

Accessibility & contrast

On white

9.53
#71276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#71276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71276B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71276B#FFFFFF#000000##FFFFFF
##71276B1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6D
Deuteranopia (green-blind)
#3C4969
Tritanopia (blue-blind)
#752E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71276b;
/* rgb */ color: rgb(113, 39, 107);
/* oklch */ color: oklch(41.0% 0.135 331.1);
Tailwind
colors: {
  custom: {
    50: '#9c6795',
    500: '#71276b',
    950: '#000000',
  },
}
SCSS
$custom: #71276b;
$custom-light: #9c6795;
$custom-dark: #000000;
JSON
{
  "hex": "#71276b",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 304.865,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.13506,
    "h": 331.1
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#71276B
secondary
#50A357
accent
#D85B50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #71276B

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

Preview Lab → · Contrast checker → · Palette generator →

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