#71187D#71187D

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

Color values

HEX#71187D
RGBrgb(113, 24, 125)
HSLhsl(293, 68%, 29%)
HSVhsv(293, 81%, 49%)
CMYKcmyk(9.6%, 80.8%, 0%, 51%)
CIE-LABlab(28.50, 50.65, -36.81)
CIE-LCHlch(28.50, 62.61, 323.99°)
OKLaboklab(40.6% 0.1345 -0.103)
OKLCHoklch(40.6% 0.169 322.6)
XYZxyz(10.8380, 5.6453, 19.9169)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71187D #247D18
analogous
#3F187D #71187D #7D1857
triadic
#71187D #7D7118 #187D71
tetradic
#71187D #7D3F18 #247D18 #18577D
square
#71187D #7D3F18 #247D18 #18577D
split-complementary
#71187D #577D18 #187D3F
monochromatic
#17051A #430E4A #71187D #9F22B0 #C537D9

Accessibility & contrast

On white

9.86
#71187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#71187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71187D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71187D#FFFFFF#000000##FFFFFF
##71187D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#29467B
Tritanopia (blue-blind)
#732D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71187d;
/* rgb */ color: rgb(113, 24, 125);
/* oklch */ color: oklch(40.6% 0.169 322.6);
Tailwind
colors: {
  custom: {
    50: '#9d61a3',
    500: '#71187d',
    950: '#000000',
  },
}
SCSS
$custom: #71187d;
$custom-light: #9d61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71187d",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 292.871,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.16941,
    "h": 322.6
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#71187D
secondary
#4DB23F
accent
#EB3D52
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71187D

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

Preview Lab → · Contrast checker → · Palette generator →

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