#71176A#71176A

#71176A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.155 H 331.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#71176A
RGBrgb(113, 23, 106)
HSLhsl(305, 66%, 27%)
HSVhsv(305, 80%, 44%)
CMYKcmyk(0%, 79.6%, 6.2%, 55.7%)
CIE-LABlab(27.20, 47.60, -26.75)
CIE-LCHlch(27.20, 54.60, 330.67°)
OKLaboklab(39.3% 0.1362 -0.0737)
OKLCHoklch(39.3% 0.155 331.6)
XYZxyz(9.7180, 5.1649, 14.1180)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71176A #17711E
analogous
#4B1771 #71176A #71173D
triadic
#71176A #6A7117 #176A71
tetradic
#71176A #714B17 #17711E #173D71
square
#71176A #714B17 #17711E #173D71
split-complementary
#71176A #3D7117 #17714B
monochromatic
#190518 #3E0D3A #71176A #A4219A #D42EC7

Accessibility & contrast

On white

10.33
#71176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#71176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71176A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71176A#FFFFFF#000000##FFFFFF
##71176A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F386C
Deuteranopia (green-blind)
#354568
Tritanopia (blue-blind)
#762240
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71176a;
/* rgb */ color: rgb(113, 23, 106);
/* oklch */ color: oklch(39.3% 0.155 331.6);
Tailwind
colors: {
  custom: {
    50: '#9d6095',
    500: '#71176a',
    950: '#000000',
  },
}
SCSS
$custom: #71176a;
$custom-light: #9d6095;
$custom-dark: #000000;
JSON
{
  "hex": "#71176a",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 304.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.15486,
    "h": 331.6
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#71176A
secondary
#3DA745
accent
#E94C3F
background
#FAF5F9
surface
#F3EAF1
border
#CDC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71176A

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

Preview Lab → · Contrast checker → · Palette generator →

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