#71247D#71247D

#71247D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.156 H 322.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#71247D
RGBrgb(113, 36, 125)
HSLhsl(292, 55%, 32%)
HSVhsv(292, 71%, 49%)
CMYKcmyk(9.6%, 71.2%, 0%, 51%)
CIE-LABlab(30.04, 46.24, -34.34)
CIE-LCHlch(30.04, 57.60, 323.40°)
OKLaboklab(41.7% 0.1226 -0.0958)
OKLCHoklch(41.7% 0.156 322)
XYZxyz(11.1422, 6.2537, 20.0183)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71247D #307D24
analogous
#45247D #71247D #7D245D
triadic
#71247D #7D7124 #247D71
tetradic
#71247D #7D4524 #307D24 #245D7D
square
#71247D #7D4524 #307D24 #245D7D
split-complementary
#71247D #5D7D24 #247D45
monochromatic
#1B091E #46164D #71247D #9C32AD #BB4FCC

Accessibility & contrast

On white

9.33
#71247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71247D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71247D#FFFFFF#000000##FFFFFF
##71247D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064180
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#72344E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71247d;
/* rgb */ color: rgb(113, 36, 125);
/* oklch */ color: oklch(41.7% 0.156 322.0);
Tailwind
colors: {
  custom: {
    50: '#9d66a3',
    500: '#71247d',
    950: '#000000',
  },
}
SCSS
$custom: #71247d;
$custom-light: #9d66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71247d",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 291.91,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.15562,
    "h": 322
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#71247D
secondary
#5BAF4D
accent
#DF495D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71247D

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

Preview Lab → · Contrast checker → · Palette generator →

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