#71187A#71187A

#71187A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.167 H 323.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#71187A
RGBrgb(113, 24, 122)
HSLhsl(294, 67%, 29%)
HSVhsv(294, 80%, 48%)
CMYKcmyk(7.4%, 80.3%, 0%, 52.2%)
CIE-LABlab(28.30, 50.10, -35.23)
CIE-LCHlch(28.30, 61.24, 324.88°)
OKLaboklab(40.4% 0.1348 -0.0984)
OKLCHoklch(40.4% 0.167 323.9)
XYZxyz(10.6492, 5.5698, 18.9227)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71187A #217A18
analogous
#40187A #71187A #7A1852
triadic
#71187A #7A7118 #187A71
tetradic
#71187A #7A4018 #217A18 #18527A
square
#71187A #7A4018 #217A18 #18527A
split-complementary
#71187A #527A18 #187A40
monochromatic
#18051A #420E47 #71187A #A022AD #C835D7

Accessibility & contrast

On white

9.93
#71187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#71187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71187A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71187A#FFFFFF#000000##FFFFFF
##71187A1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#732B49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71187a;
/* rgb */ color: rgb(113, 24, 122);
/* oklch */ color: oklch(40.4% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#9d61a1',
    500: '#71187a',
    950: '#000000',
  },
}
SCSS
$custom: #71187a;
$custom-light: #9d61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71187a",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 294.49,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.16688,
    "h": 323.9
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#71187A
secondary
#49AF3F
accent
#EA3E4E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #71187A

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

Preview Lab → · Contrast checker → · Palette generator →

#71187A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva