#71186C#71186C

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

Color values

HEX#71186C
RGBrgb(113, 24, 108)
HSLhsl(303, 65%, 27%)
HSVhsv(303, 79%, 44%)
CMYKcmyk(0%, 78.8%, 4.4%, 55.7%)
CIE-LABlab(27.43, 47.61, -27.67)
CIE-LCHlch(27.43, 55.07, 329.83°)
OKLaboklab(39.5% 0.1353 -0.0764)
OKLCHoklch(39.5% 0.155 330.6)
XYZxyz(9.8434, 5.2475, 14.6789)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71186C #18711D
analogous
#4A1871 #71186C #711840
triadic
#71186C #6C7118 #186C71
tetradic
#71186C #714A18 #18711D #184071
square
#71186C #714A18 #18711D #184071
split-complementary
#71186C #407118 #18714A
monochromatic
#190518 #3F0D3C #71186C #A3239C #D330CA

Accessibility & contrast

On white

10.25
#71186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#71186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71186C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71186C#FFFFFF#000000##FFFFFF
##71186C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71186c;
/* rgb */ color: rgb(113, 24, 108);
/* oklch */ color: oklch(39.5% 0.155 330.6);
Tailwind
colors: {
  custom: {
    50: '#9d6096',
    500: '#71186c',
    950: '#000000',
  },
}
SCSS
$custom: #71186c;
$custom-light: #9d6096;
$custom-dark: #000000;
JSON
{
  "hex": "#71186c",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 303.371,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.15537,
    "h": 330.6
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#71186C
secondary
#3EA644
accent
#E84940
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #71186C

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

Preview Lab → · Contrast checker → · Palette generator →

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