#71246E#71246E

#71246E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.142 H 329.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#71246E
RGBrgb(113, 36, 110)
HSLhsl(302, 52%, 29%)
HSVhsv(302, 68%, 44%)
CMYKcmyk(0%, 68.1%, 2.7%, 55.7%)
CIE-LABlab(29.16, 43.40, -26.23)
CIE-LCHlch(29.16, 50.71, 328.85°)
OKLaboklab(40.78% 0.1223 -0.0723)
OKLCHoklch(40.78% 0.142 329.4)
XYZxyz(10.2553, 5.8990, 15.3473)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71246E #247127
analogous
#4E2471 #71246E #712448
triadic
#71246E #6E7124 #246E71
tetradic
#71246E #714E24 #247127 #244871
square
#71246E #714E24 #247127 #244871
split-complementary
#71246E #487124 #24714E
monochromatic
#170717 #431541 #71246E #9F339B #C54AC1

Accessibility & contrast

On white

9.63
#71246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#71246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71246E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71246E#FFFFFF#000000##FFFFFF
##71246E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#39486C
Tritanopia (blue-blind)
#752D45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #71246e;
/* rgb */ color: rgb(113, 36, 110);
/* oklch */ color: oklch(40.8% 0.142 329.4);
Tailwind
colors: {
  custom: {
    50: '#9c6598',
    500: '#71246e',
    950: '#000000',
  },
}
SCSS
$custom: #71246e;
$custom-light: #9c6598;
$custom-dark: #000000;
JSON
{
  "hex": "#71246e",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 302.338,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40777,
    "c": 0.14207,
    "h": 329.4
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#71246E
secondary
#4DA450
accent
#DB524D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71246E

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

Preview Lab → · Contrast checker → · Palette generator →

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