#71187C#71187C

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

Color values

HEX#71187C
RGBrgb(113, 24, 124)
HSLhsl(293, 68%, 29%)
HSVhsv(293, 81%, 49%)
CMYKcmyk(8.9%, 80.6%, 0%, 51.4%)
CIE-LABlab(28.43, 50.47, -36.28)
CIE-LCHlch(28.43, 62.16, 324.28°)
OKLaboklab(40.53% 0.1346 -0.1014)
OKLCHoklch(40.53% 0.169 323)
XYZxyz(10.7744, 5.6199, 19.5821)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71187C #237C18
analogous
#3F187C #71187C #7C1855
triadic
#71187C #7C7118 #187C71
tetradic
#71187C #7C3F18 #237C18 #18557C
square
#71187C #7C3F18 #237C18 #18557C
split-complementary
#71187C #557C18 #187C3F
monochromatic
#17051A #420E49 #71187C #A022AF #C636D8

Accessibility & contrast

On white

9.89
#71187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71187C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71187C#FFFFFF#000000##FFFFFF
##71187C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#29467A
Tritanopia (blue-blind)
#732C4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71187c;
/* rgb */ color: rgb(113, 24, 124);
/* oklch */ color: oklch(40.5% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#9d61a2',
    500: '#71187c',
    950: '#000000',
  },
}
SCSS
$custom: #71187c;
$custom-light: #9d61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71187c",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 293.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.16857,
    "h": 323
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#71187C
secondary
#4CB13F
accent
#EA3D50
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71187C

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

Preview Lab → · Contrast checker → · Palette generator →

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