#71176F#71176F

#71176F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.159 H 329.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#71176F
RGBrgb(113, 23, 111)
HSLhsl(301, 66%, 27%)
HSVhsv(301, 80%, 44%)
CMYKcmyk(0%, 79.6%, 1.8%, 55.7%)
CIE-LABlab(27.50, 48.45, -29.50)
CIE-LCHlch(27.50, 56.72, 328.66°)
OKLaboklab(39.6% 0.1362 -0.0816)
OKLCHoklch(39.6% 0.159 329.1)
XYZxyz(9.9856, 5.2720, 15.5275)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71176F #177119
analogous
#461771 #71176F #711742
triadic
#71176F #6F7117 #176F71
tetradic
#71176F #714617 #177119 #174271
square
#71176F #714617 #177119 #174271
split-complementary
#71176F #427117 #177146
monochromatic
#190519 #3E0D3D #71176F #A421A1 #D42ED1

Accessibility & contrast

On white

10.22
#71176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71176F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71176F#FFFFFF#000000##FFFFFF
##71176F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053971
Deuteranopia (green-blind)
#32456D
Tritanopia (blue-blind)
#752542
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #71176f;
/* rgb */ color: rgb(113, 23, 111);
/* oklch */ color: oklch(39.6% 0.159 329.1);
Tailwind
colors: {
  custom: {
    50: '#9d6099',
    500: '#71176f',
    950: '#000000',
  },
}
SCSS
$custom: #71176f;
$custom-light: #9d6099;
$custom-dark: #000000;
JSON
{
  "hex": "#71176f",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 301.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.15882,
    "h": 329.1
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#71176F
secondary
#3DA73F
accent
#E9423F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #71176F

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

Preview Lab → · Contrast checker → · Palette generator →

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