#71276E#71276E

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

Color values

HEX#71276E
RGBrgb(113, 39, 110)
HSLhsl(302, 49%, 30%)
HSVhsv(302, 65%, 44%)
CMYKcmyk(0%, 65.5%, 2.7%, 55.7%)
CIE-LABlab(29.63, 42.07, -25.48)
CIE-LCHlch(29.63, 49.18, 328.80°)
OKLaboklab(41.12% 0.1185 -0.0701)
OKLCHoklch(41.12% 0.138 329.4)
XYZxyz(10.3500, 6.0883, 15.3788)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71276E #27712A
analogous
#4F2771 #71276E #712749
triadic
#71276E #6E7127 #276E71
tetradic
#71276E #714F27 #27712A #274971
square
#71276E #714F27 #27712A #274971
split-complementary
#71276E #497127 #27714F
monochromatic
#170816 #441742 #71276E #9E379A #C350BE

Accessibility & contrast

On white

9.47
#71276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71276E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71276E#FFFFFF#000000##FFFFFF
##71276E1.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)
#203F70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#752F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71276e;
/* rgb */ color: rgb(113, 39, 110);
/* oklch */ color: oklch(41.1% 0.138 329.4);
Tailwind
colors: {
  custom: {
    50: '#9c6798',
    500: '#71276e',
    950: '#000000',
  },
}
SCSS
$custom: #71276e;
$custom-light: #9c6798;
$custom-dark: #000000;
JSON
{
  "hex": "#71276e",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 302.432,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41123,
    "c": 0.1377,
    "h": 329.4
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#71276E
secondary
#50A354
accent
#D85550
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #71276E

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

Preview Lab → · Contrast checker → · Palette generator →

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