#71247C#71247C

#71247C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.155 H 322.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#71247C
RGBrgb(113, 36, 124)
HSLhsl(293, 55%, 31%)
HSVhsv(293, 71%, 49%)
CMYKcmyk(8.9%, 71%, 0%, 51.4%)
CIE-LABlab(29.98, 46.05, -33.81)
CIE-LCHlch(29.98, 57.12, 323.71°)
OKLaboklab(41.64% 0.1226 -0.0943)
OKLCHoklch(41.64% 0.155 322.4)
XYZxyz(11.0786, 6.2283, 19.6835)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71247C #2F7C24
analogous
#45247C #71247C #7C245B
triadic
#71247C #7C7124 #247C71
tetradic
#71247C #7C4524 #2F7C24 #245B7C
square
#71247C #7C4524 #2F7C24 #245B7C
split-complementary
#71247C #5B7C24 #247C45
monochromatic
#1B081D #46164D #71247C #9C32AB #BC4FCC

Accessibility & contrast

On white

9.35
#71247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#71247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71247C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71247C#FFFFFF#000000##FFFFFF
##71247C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#73334D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71247c;
/* rgb */ color: rgb(113, 36, 124);
/* oklch */ color: oklch(41.6% 0.155 322.4);
Tailwind
colors: {
  custom: {
    50: '#9d66a2',
    500: '#71247c',
    950: '#000000',
  },
}
SCSS
$custom: #71247c;
$custom-light: #9d66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71247c",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 292.5,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.1547,
    "h": 322.4
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#71247C
secondary
#5AAE4D
accent
#DE495C
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71247C

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

Preview Lab → · Contrast checker → · Palette generator →

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