#71147D#71147D

#71147D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 322.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#71147D
RGBrgb(113, 20, 125)
HSLhsl(293, 72%, 28%)
HSVhsv(293, 84%, 49%)
CMYKcmyk(9.6%, 84%, 0%, 51%)
CIE-LABlab(28.09, 51.83, -37.46)
CIE-LCHlch(28.09, 63.95, 324.14°)
OKLaboklab(40.32% 0.1377 -0.1049)
OKLCHoklch(40.32% 0.173 322.7)
XYZxyz(10.7615, 5.4923, 19.8914)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71147D #207D14
analogous
#3C147D #71147D #7D1454
triadic
#71147D #7D7114 #147D71
tetradic
#71147D #7D3C14 #207D14 #14547D
square
#71147D #7D3C14 #207D14 #14547D
split-complementary
#71147D #547D14 #147D3C
monochromatic
#18041A #410C48 #71147D #A11CB2 #C92EDE

Accessibility & contrast

On white

10.01
#71147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71147D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71147D#FFFFFF#000000##FFFFFF
##71147D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#732B4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #71147d;
/* rgb */ color: rgb(113, 20, 125);
/* oklch */ color: oklch(40.3% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#9d5fa3',
    500: '#71147d',
    950: '#000000',
  },
}
SCSS
$custom: #71147d;
$custom-light: #9d5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#71147d",
  "rgb": {
    "r": 113,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 293.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.17308,
    "h": 322.7
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#71147D
secondary
#48B23A
accent
#EF394E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71147D

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

Preview Lab → · Contrast checker → · Palette generator →

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