#71247A#71247A

#71247A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.153 H 323.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#71247A
RGBrgb(113, 36, 122)
HSLhsl(294, 54%, 31%)
HSVhsv(294, 70%, 48%)
CMYKcmyk(7.4%, 70.5%, 0%, 52.2%)
CIE-LABlab(29.86, 45.66, -32.74)
CIE-LCHlch(29.86, 56.18, 324.35°)
OKLaboklab(41.51% 0.1227 -0.0912)
OKLCHoklch(41.51% 0.153 323.4)
XYZxyz(10.9535, 6.1782, 19.0242)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71247A #2D7A24
analogous
#46247A #71247A #7A2458
triadic
#71247A #7A7124 #247A71
tetradic
#71247A #7A4624 #2D7A24 #24587A
square
#71247A #7A4624 #2D7A24 #24587A
split-complementary
#71247A #587A24 #247A46
monochromatic
#19081B #45164B #71247A #9D32A9 #BE4ECB

Accessibility & contrast

On white

9.39
#71247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#71247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71247A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71247A#FFFFFF#000000##FFFFFF
##71247A1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417C
Deuteranopia (green-blind)
#324978
Tritanopia (blue-blind)
#73324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71247a;
/* rgb */ color: rgb(113, 36, 122);
/* oklch */ color: oklch(41.5% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#9d66a1',
    500: '#71247a',
    950: '#000000',
  },
}
SCSS
$custom: #71247a;
$custom-light: #9d66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71247a",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 293.721,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.15285,
    "h": 323.4
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#71247A
secondary
#57AC4D
accent
#DE4A59
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #71247A

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

Preview Lab → · Contrast checker → · Palette generator →

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