#71147E#71147E

#71147E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.174 H 322.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#71147E
RGBrgb(113, 20, 126)
HSLhsl(293, 73%, 29%)
HSVhsv(293, 84%, 49%)
CMYKcmyk(10.3%, 84.1%, 0%, 50.6%)
CIE-LABlab(28.16, 52.01, -37.98)
CIE-LCHlch(28.16, 64.40, 323.86°)
OKLaboklab(40.39% 0.1376 -0.1064)
OKLCHoklch(40.39% 0.174 322.3)
XYZxyz(10.8257, 5.5180, 20.2295)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71147E #217E14
analogous
#3C147E #71147E #7E1456
triadic
#71147E #7E7114 #147E71
tetradic
#71147E #7E3C14 #217E14 #14567E
square
#71147E #7E3C14 #217E14 #14567E
split-complementary
#71147E #567E14 #147E3C
monochromatic
#18041A #420C49 #71147E #A01CB3 #C82EDE

Accessibility & contrast

On white

9.98
#71147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#71147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71147E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71147E#FFFFFF#000000##FFFFFF
##71147E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#722B4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #71147e;
/* rgb */ color: rgb(113, 20, 126);
/* oklch */ color: oklch(40.4% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#9e60a4',
    500: '#71147e',
    950: '#000000',
  },
}
SCSS
$custom: #71147e;
$custom-light: #9e60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71147e",
  "rgb": {
    "r": 113,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 292.642,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.17391,
    "h": 322.3
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#71147E
secondary
#49B33A
accent
#EF384F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71147E

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

Preview Lab → · Contrast checker → · Palette generator →

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