#71187B#71187B

#71187B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.168 H 323.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#71187B
RGBrgb(113, 24, 123)
HSLhsl(294, 67%, 29%)
HSVhsv(294, 80%, 48%)
CMYKcmyk(8.1%, 80.5%, 0%, 51.8%)
CIE-LABlab(28.37, 50.28, -35.76)
CIE-LCHlch(28.37, 61.70, 324.58°)
OKLaboklab(40.47% 0.1347 -0.0999)
OKLCHoklch(40.47% 0.168 323.4)
XYZxyz(10.7115, 5.5947, 19.2507)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71187B #227B18
analogous
#40187B #71187B #7B1854
triadic
#71187B #7B7118 #187B71
tetradic
#71187B #7B4018 #227B18 #18547B
square
#71187B #7B4018 #227B18 #18547B
split-complementary
#71187B #547B18 #187B40
monochromatic
#18051A #420E48 #71187B #A022AE #C736D8

Accessibility & contrast

On white

9.91
#71187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#71187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71187B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71187B#FFFFFF#000000##FFFFFF
##71187B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#732C49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71187b;
/* rgb */ color: rgb(113, 24, 123);
/* oklch */ color: oklch(40.5% 0.168 323.4);
Tailwind
colors: {
  custom: {
    50: '#9d61a2',
    500: '#71187b',
    950: '#000000',
  },
}
SCSS
$custom: #71187b;
$custom-light: #9d61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71187b",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 293.939,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.16772,
    "h": 323.4
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#71187B
secondary
#4AB03F
accent
#EA3E4F
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71187B

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

Preview Lab → · Contrast checker → · Palette generator →

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