#71176E#71176E

#71176E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.158 H 329.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#71176E
RGBrgb(113, 23, 110)
HSLhsl(302, 66%, 27%)
HSVhsv(302, 80%, 44%)
CMYKcmyk(0%, 79.6%, 2.7%, 55.7%)
CIE-LABlab(27.44, 48.27, -28.95)
CIE-LCHlch(27.44, 56.29, 329.05°)
OKLaboklab(39.54% 0.1362 -0.0801)
OKLCHoklch(39.54% 0.158 329.6)
XYZxyz(9.9309, 5.2501, 15.2391)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71176E #17711A
analogous
#471771 #71176E #711741
triadic
#71176E #6E7117 #176E71
tetradic
#71176E #714717 #17711A #174171
square
#71176E #714717 #17711A #174171
split-complementary
#71176E #417117 #177147
monochromatic
#190519 #3E0D3D #71176E #A421A0 #D42ECF

Accessibility & contrast

On white

10.24
#71176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#71176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71176E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71176E#FFFFFF#000000##FFFFFF
##71176E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073970
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#752442
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #71176e;
/* rgb */ color: rgb(113, 23, 110);
/* oklch */ color: oklch(39.5% 0.158 329.6);
Tailwind
colors: {
  custom: {
    50: '#9d6098',
    500: '#71176e',
    950: '#000000',
  },
}
SCSS
$custom: #71176e;
$custom-light: #9d6098;
$custom-dark: #000000;
JSON
{
  "hex": "#71176e",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 302,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.15803,
    "h": 329.6
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#71176E
secondary
#3DA741
accent
#E9443F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #71176E

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

Preview Lab → · Contrast checker → · Palette generator →

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