#71236E#71236E

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

Color values

HEX#71236E
RGBrgb(113, 35, 110)
HSLhsl(302, 53%, 29%)
HSVhsv(302, 69%, 44%)
CMYKcmyk(0%, 69%, 2.7%, 55.7%)
CIE-LABlab(29.00, 43.82, -26.47)
CIE-LCHlch(29.00, 51.20, 328.87°)
OKLaboklab(40.67% 0.1235 -0.073)
OKLCHoklch(40.67% 0.143 329.4)
XYZxyz(10.2255, 5.8393, 15.3374)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71236E #237126
analogous
#4D2371 #71236E #712347
triadic
#71236E #6E7123 #236E71
tetradic
#71236E #714D23 #237126 #234771
square
#71236E #714D23 #237126 #234771
split-complementary
#71236E #477123 #23714D
monochromatic
#170717 #421541 #71236E #A0319B #C648C1

Accessibility & contrast

On white

9.69
#71236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#71236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71236E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71236E#FFFFFF#000000##FFFFFF
##71236E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E70
Deuteranopia (green-blind)
#38486C
Tritanopia (blue-blind)
#752D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71236e;
/* rgb */ color: rgb(113, 35, 110);
/* oklch */ color: oklch(40.7% 0.143 329.4);
Tailwind
colors: {
  custom: {
    50: '#9d6598',
    500: '#71236e',
    950: '#000000',
  },
}
SCSS
$custom: #71236e;
$custom-light: #9d6598;
$custom-dark: #000000;
JSON
{
  "hex": "#71236e",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 302.308,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.14347,
    "h": 329.4
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#71236E
secondary
#4CA44F
accent
#DC514C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71236E

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

Preview Lab → · Contrast checker → · Palette generator →

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