#71187E#71187E

#71187E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.170 H 322.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#71187E
RGBrgb(113, 24, 126)
HSLhsl(292, 68%, 29%)
HSVhsv(292, 81%, 49%)
CMYKcmyk(10.3%, 81%, 0%, 50.6%)
CIE-LABlab(28.57, 50.84, -37.33)
CIE-LCHlch(28.57, 63.07, 323.71°)
OKLaboklab(40.67% 0.1344 -0.1045)
OKLCHoklch(40.67% 0.17 322.1)
XYZxyz(10.9022, 5.6710, 20.2550)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71187E #257E18
analogous
#3E187E #71187E #7E1858
triadic
#71187E #7E7118 #187E71
tetradic
#71187E #7E3E18 #257E18 #18587E
square
#71187E #7E3E18 #257E18 #18587E
split-complementary
#71187E #587E18 #187E3E
monochromatic
#17051A #430E4B #71187E #9F22B1 #C437D9

Accessibility & contrast

On white

9.84
#71187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71187E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71187E#FFFFFF#000000##FFFFFF
##71187E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#722D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71187e;
/* rgb */ color: rgb(113, 24, 126);
/* oklch */ color: oklch(40.7% 0.170 322.1);
Tailwind
colors: {
  custom: {
    50: '#9d61a4',
    500: '#71187e',
    950: '#000000',
  },
}
SCSS
$custom: #71187e;
$custom-light: #9d61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71187e",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 292.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.17027,
    "h": 322.1
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#71187E
secondary
#4EB23F
accent
#EB3D53
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71187E

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

Preview Lab → · Contrast checker → · Palette generator →

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