#71186E#71186E

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

Color values

HEX#71186E
RGBrgb(113, 24, 110)
HSLhsl(302, 65%, 27%)
HSVhsv(302, 79%, 44%)
CMYKcmyk(0%, 78.8%, 2.7%, 55.7%)
CIE-LABlab(27.55, 47.96, -28.77)
CIE-LCHlch(27.55, 55.93, 329.04°)
OKLaboklab(39.62% 0.1353 -0.0796)
OKLCHoklch(39.62% 0.157 329.5)
XYZxyz(9.9511, 5.2905, 15.2459)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71186E #18711B
analogous
#481871 #71186E #711842
triadic
#71186E #6E7118 #186E71
tetradic
#71186E #714818 #18711B #184271
square
#71186E #714818 #18711B #184271
split-complementary
#71186E #427118 #187148
monochromatic
#190519 #3F0D3D #71186E #A3239F #D330CE

Accessibility & contrast

On white

10.20
#71186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#71186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71186E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71186E#FFFFFF#000000##FFFFFF
##71186E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093970
Deuteranopia (green-blind)
#33456C
Tritanopia (blue-blind)
#752542
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #71186e;
/* rgb */ color: rgb(113, 24, 110);
/* oklch */ color: oklch(39.6% 0.157 329.5);
Tailwind
colors: {
  custom: {
    50: '#9d6098',
    500: '#71186e',
    950: '#000000',
  },
}
SCSS
$custom: #71186e;
$custom-light: #9d6098;
$custom-dark: #000000;
JSON
{
  "hex": "#71186e",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 302.022,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.15698,
    "h": 329.5
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#71186E
secondary
#3EA642
accent
#E84640
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #71186E

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

Preview Lab → · Contrast checker → · Palette generator →

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