#71176B#71176B

#71176B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.156 H 331.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#71176B
RGBrgb(113, 23, 107)
HSLhsl(304, 66%, 27%)
HSVhsv(304, 80%, 44%)
CMYKcmyk(0%, 79.6%, 5.3%, 55.7%)
CIE-LABlab(27.26, 47.77, -27.30)
CIE-LCHlch(27.26, 55.02, 330.25°)
OKLaboklab(39.36% 0.1362 -0.0753)
OKLCHoklch(39.36% 0.156 331.1)
XYZxyz(9.7703, 5.1858, 14.3935)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71176B #17711D
analogous
#4A1771 #71176B #71173E
triadic
#71176B #6B7117 #176B71
tetradic
#71176B #714A17 #17711D #173E71
square
#71176B #714A17 #17711D #173E71
split-complementary
#71176B #3E7117 #17714A
monochromatic
#190518 #3E0D3B #71176B #A4219B #D42EC9

Accessibility & contrast

On white

10.31
#71176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#71176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71176B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71176B#FFFFFF#000000##FFFFFF
##71176B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D396D
Deuteranopia (green-blind)
#344569
Tritanopia (blue-blind)
#762340
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71176b;
/* rgb */ color: rgb(113, 23, 107);
/* oklch */ color: oklch(39.4% 0.156 331.1);
Tailwind
colors: {
  custom: {
    50: '#9d6096',
    500: '#71176b',
    950: '#000000',
  },
}
SCSS
$custom: #71176b;
$custom-light: #9d6096;
$custom-dark: #000000;
JSON
{
  "hex": "#71176b",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 304,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39355,
    "c": 0.15565,
    "h": 331.1
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#71176B
secondary
#3DA744
accent
#E94A3F
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71176B

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

Preview Lab → · Contrast checker → · Palette generator →

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