#71186D#71186D

#71186D is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.156 H 330.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#71186D
RGBrgb(113, 24, 109)
HSLhsl(303, 65%, 27%)
HSVhsv(303, 79%, 44%)
CMYKcmyk(0%, 78.8%, 3.5%, 55.7%)
CIE-LABlab(27.49, 47.78, -28.23)
CIE-LCHlch(27.49, 55.50, 329.43°)
OKLaboklab(39.56% 0.1353 -0.078)
OKLCHoklch(39.56% 0.156 330)
XYZxyz(9.8970, 5.2689, 14.9608)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71186D #18711C
analogous
#491871 #71186D #711841
triadic
#71186D #6D7118 #186D71
tetradic
#71186D #714918 #18711C #184171
square
#71186D #714918 #18711C #184171
split-complementary
#71186D #417118 #187149
monochromatic
#190518 #3F0D3C #71186D #A3239E #D330CC

Accessibility & contrast

On white

10.23
#71186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71186D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71186D#FFFFFF#000000##FFFFFF
##71186D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B396F
Deuteranopia (green-blind)
#33456B
Tritanopia (blue-blind)
#752541
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #71186d;
/* rgb */ color: rgb(113, 24, 109);
/* oklch */ color: oklch(39.6% 0.156 330.0);
Tailwind
colors: {
  custom: {
    50: '#9d6097',
    500: '#71186d',
    950: '#000000',
  },
}
SCSS
$custom: #71186d;
$custom-light: #9d6097;
$custom-dark: #000000;
JSON
{
  "hex": "#71186d",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 302.697,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.15618,
    "h": 330
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#71186D
secondary
#3EA643
accent
#E84740
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #71186D

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

Preview Lab → · Contrast checker → · Palette generator →

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