#71176C#71176C

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

Color values

HEX#71176C
RGBrgb(113, 23, 108)
HSLhsl(303, 66%, 27%)
HSVhsv(303, 80%, 44%)
CMYKcmyk(0%, 79.6%, 4.4%, 55.7%)
CIE-LABlab(27.32, 47.93, -27.85)
CIE-LCHlch(27.32, 55.44, 329.84°)
OKLaboklab(39.42% 0.1362 -0.0769)
OKLCHoklch(39.42% 0.156 330.6)
XYZxyz(9.8232, 5.2070, 14.6721)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71176C #17711C
analogous
#491771 #71176C #71173F
triadic
#71176C #6C7117 #176C71
tetradic
#71176C #714917 #17711C #173F71
square
#71176C #714917 #17711C #173F71
split-complementary
#71176C #3F7117 #177149
monochromatic
#190518 #3E0D3B #71176C #A4219D #D42ECB

Accessibility & contrast

On white

10.29
#71176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71176C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71176C#FFFFFF#000000##FFFFFF
##71176C1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B396E
Deuteranopia (green-blind)
#34456A
Tritanopia (blue-blind)
#762341
Achromatopsia (no color)
#414141

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#71176C
secondary
#3DA743
accent
#E9483F
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71176C

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

Preview Lab → · Contrast checker → · Palette generator →

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