#71247E#71247E

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

Color values

HEX#71247E
RGBrgb(113, 36, 126)
HSLhsl(291, 56%, 32%)
HSVhsv(291, 71%, 49%)
CMYKcmyk(10.3%, 71.4%, 0%, 50.6%)
CIE-LABlab(30.11, 46.44, -34.87)
CIE-LCHlch(30.11, 58.07, 323.10°)
OKLaboklab(41.77% 0.1226 -0.0974)
OKLCHoklch(41.77% 0.157 321.5)
XYZxyz(11.2064, 6.2794, 20.3564)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71247E #317E24
analogous
#44247E #71247E #7E245E
triadic
#71247E #7E7124 #247E71
tetradic
#71247E #7E4424 #317E24 #245E7E
square
#71247E #7E4424 #317E24 #245E7E
split-complementary
#71247E #5E7E24 #247E44
monochromatic
#1C091F #46164E #71247E #9C32AE #BB50CD

Accessibility & contrast

On white

9.31
#71247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71247E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71247E#FFFFFF#000000##FFFFFF
##71247E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034181
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#72344E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71247e;
/* rgb */ color: rgb(113, 36, 126);
/* oklch */ color: oklch(41.8% 0.157 321.5);
Tailwind
colors: {
  custom: {
    50: '#9d66a4',
    500: '#71247e',
    950: '#000000',
  },
}
SCSS
$custom: #71247e;
$custom-light: #9d66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71247e",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 291.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.15655,
    "h": 321.5
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#71247E
secondary
#5CB04E
accent
#DF495F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71247E

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

Preview Lab → · Contrast checker → · Palette generator →

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