#71186F#71186F

#71186F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.158 H 329.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#71186F
RGBrgb(113, 24, 111)
HSLhsl(301, 65%, 27%)
HSVhsv(301, 79%, 44%)
CMYKcmyk(0%, 78.8%, 1.8%, 55.7%)
CIE-LABlab(27.61, 48.13, -29.32)
CIE-LCHlch(27.61, 56.36, 328.65°)
OKLaboklab(39.68% 0.1353 -0.0811)
OKLCHoklch(39.68% 0.158 329)
XYZxyz(10.0058, 5.3124, 15.5342)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71186F #18711A
analogous
#471871 #71186F #711843
triadic
#71186F #6F7118 #186F71
tetradic
#71186F #714718 #18711A #184371
square
#71186F #714718 #18711A #184371
split-complementary
#71186F #437118 #187147
monochromatic
#190519 #3F0D3D #71186F #A323A1 #D330CF

Accessibility & contrast

On white

10.18
#71186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71186F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71186F#FFFFFF#000000##FFFFFF
##71186F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073A71
Deuteranopia (green-blind)
#32456D
Tritanopia (blue-blind)
#752643
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #71186f;
/* rgb */ color: rgb(113, 24, 111);
/* oklch */ color: oklch(39.7% 0.158 329.0);
Tailwind
colors: {
  custom: {
    50: '#9d6099',
    500: '#71186f',
    950: '#000000',
  },
}
SCSS
$custom: #71186f;
$custom-light: #9d6099;
$custom-dark: #000000;
JSON
{
  "hex": "#71186f",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 301.348,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.15779,
    "h": 329
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#71186F
secondary
#3EA641
accent
#E84440
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #71186F

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

Preview Lab → · Contrast checker → · Palette generator →

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