#71276C#71276C

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

Color values

HEX#71276C
RGBrgb(113, 39, 108)
HSLhsl(304, 49%, 30%)
HSVhsv(304, 65%, 44%)
CMYKcmyk(0%, 65.5%, 4.4%, 55.7%)
CIE-LABlab(29.53, 41.70, -24.37)
CIE-LCHlch(29.53, 48.30, 329.70°)
OKLaboklab(41.01% 0.1183 -0.0669)
OKLCHoklch(41.01% 0.136 330.5)
XYZxyz(10.2423, 6.0452, 14.8118)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71276C #27712C
analogous
#512771 #71276C #712747
triadic
#71276C #6C7127 #276C71
tetradic
#71276C #715127 #27712C #274771
square
#71276C #715127 #27712C #274771
split-complementary
#71276C #477127 #277151
monochromatic
#170816 #441741 #71276C #9E3797 #C350BB

Accessibility & contrast

On white

9.51
#71276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#71276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71276C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71276C#FFFFFF#000000##FFFFFF
##71276C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71276c;
/* rgb */ color: rgb(113, 39, 108);
/* oklch */ color: oklch(41.0% 0.136 330.5);
Tailwind
colors: {
  custom: {
    50: '#9c6796',
    500: '#71276c',
    950: '#000000',
  },
}
SCSS
$custom: #71276c;
$custom-light: #9c6796;
$custom-dark: #000000;
JSON
{
  "hex": "#71276c",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 304.054,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.13594,
    "h": 330.5
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#71276C
secondary
#50A356
accent
#D85950
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #71276C

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

Preview Lab → · Contrast checker → · Palette generator →

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