#71247F#71247F

#71247F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.157 H 321.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#71247F
RGBrgb(113, 36, 127)
HSLhsl(291, 56%, 32%)
HSVhsv(291, 72%, 50%)
CMYKcmyk(11%, 71.7%, 0%, 50.2%)
CIE-LABlab(30.17, 46.64, -35.39)
CIE-LCHlch(30.17, 58.55, 322.81°)
OKLaboklab(41.83% 0.1225 -0.0989)
OKLCHoklch(41.83% 0.157 321.1)
XYZxyz(11.2713, 6.3054, 20.6979)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71247F #327F24
analogous
#44247F #71247F #7F2460
triadic
#71247F #7F7124 #247F71
tetradic
#71247F #7F4424 #327F24 #24607F
square
#71247F #7F4424 #327F24 #24607F
split-complementary
#71247F #607F24 #247F44
monochromatic
#1C0920 #47164F #71247F #9B32AF #BA50CD

Accessibility & contrast

On white

9.29
#71247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#71247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71247F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71247F#FFFFFF#000000##FFFFFF
##71247F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014282
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#72344F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71247f;
/* rgb */ color: rgb(113, 36, 127);
/* oklch */ color: oklch(41.8% 0.157 321.1);
Tailwind
colors: {
  custom: {
    50: '#9d66a4',
    500: '#71247f',
    950: '#000000',
  },
}
SCSS
$custom: #71247f;
$custom-light: #9d66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71247f",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 290.769,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.15748,
    "h": 321.1
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#71247F
secondary
#5DB14E
accent
#DF4960
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71247F

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

Preview Lab → · Contrast checker → · Palette generator →

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