#71246C#71246C

#71246C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.140 H 330.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#71246C
RGBrgb(113, 36, 108)
HSLhsl(304, 52%, 29%)
HSVhsv(304, 68%, 44%)
CMYKcmyk(0%, 68.1%, 4.4%, 55.7%)
CIE-LABlab(29.05, 43.04, -25.12)
CIE-LCHlch(29.05, 49.83, 329.73°)
OKLaboklab(40.66% 0.1221 -0.0691)
OKLCHoklch(40.66% 0.14 330.5)
XYZxyz(10.1477, 5.8559, 14.7803)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71246C #247129
analogous
#502471 #71246C #712446
triadic
#71246C #6C7124 #246C71
tetradic
#71246C #715024 #247129 #244671
square
#71246C #715024 #247129 #244671
split-complementary
#71246C #467124 #247150
monochromatic
#170716 #431540 #71246C #9F3398 #C54ABD

Accessibility & contrast

On white

9.67
#71246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#71246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71246C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71246C#FFFFFF#000000##FFFFFF
##71246C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#3A486A
Tritanopia (blue-blind)
#752C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71246c;
/* rgb */ color: rgb(113, 36, 108);
/* oklch */ color: oklch(40.7% 0.140 330.5);
Tailwind
colors: {
  custom: {
    50: '#9c6596',
    500: '#71246c',
    950: '#000000',
  },
}
SCSS
$custom: #71246c;
$custom-light: #9c6596;
$custom-dark: #000000;
JSON
{
  "hex": "#71246c",
  "rgb": {
    "r": 113,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 303.896,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.14033,
    "h": 330.5
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#71246C
secondary
#4DA453
accent
#DB564D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71246C

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

Preview Lab → · Contrast checker → · Palette generator →

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