#71236D#71236D

#71236D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.143 H 330.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#71236D
RGBrgb(113, 35, 109)
HSLhsl(303, 53%, 29%)
HSVhsv(303, 69%, 44%)
CMYKcmyk(0%, 69%, 3.5%, 55.7%)
CIE-LABlab(28.95, 43.64, -25.92)
CIE-LCHlch(28.95, 50.76, 329.30°)
OKLaboklab(40.61% 0.1235 -0.0714)
OKLCHoklch(40.61% 0.143 330)
XYZxyz(10.1713, 5.8176, 15.0522)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71236D #237127
analogous
#4E2371 #71236D #712346
triadic
#71236D #6D7123 #236D71
tetradic
#71236D #714E23 #237127 #234671
square
#71236D #714E23 #237127 #234671
split-complementary
#71236D #467123 #23714E
monochromatic
#170717 #421540 #71236D #A0319A #C648C0

Accessibility & contrast

On white

9.71
#71236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#71236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71236D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71236D#FFFFFF#000000##FFFFFF
##71236D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6F
Deuteranopia (green-blind)
#39486B
Tritanopia (blue-blind)
#752C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71236d;
/* rgb */ color: rgb(113, 35, 109);
/* oklch */ color: oklch(40.6% 0.143 330.0);
Tailwind
colors: {
  custom: {
    50: '#9c6597',
    500: '#71236d',
    950: '#000000',
  },
}
SCSS
$custom: #71236d;
$custom-light: #9c6597;
$custom-dark: #000000;
JSON
{
  "hex": "#71236d",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 303.077,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.1426,
    "h": 330
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#71236D
secondary
#4CA450
accent
#DC534C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71236D

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

Preview Lab → · Contrast checker → · Palette generator →

#71236D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva