#71237C#71237C

#71237C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.156 H 322.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#71237C
RGBrgb(113, 35, 124)
HSLhsl(293, 56%, 31%)
HSVhsv(293, 72%, 49%)
CMYKcmyk(8.9%, 71.8%, 0%, 51.4%)
CIE-LABlab(29.83, 46.46, -34.04)
CIE-LCHlch(29.83, 57.60, 323.77°)
OKLaboklab(41.53% 0.1238 -0.095)
OKLCHoklch(41.53% 0.156 322.5)
XYZxyz(11.0488, 6.1686, 19.6736)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71237C #2E7C23
analogous
#44237C #71237C #7C235A
triadic
#71237C #7C7123 #237C71
tetradic
#71237C #7C4423 #2E7C23 #235A7C
square
#71237C #7C4423 #2E7C23 #235A7C
split-complementary
#71237C #5A7C23 #237C44
monochromatic
#1A081D #46164C #71237C #9C30AC #BD4DCD

Accessibility & contrast

On white

9.40
#71237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#71237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71237C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71237C#FFFFFF#000000##FFFFFF
##71237C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05417F
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#73324D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71237c;
/* rgb */ color: rgb(113, 35, 124);
/* oklch */ color: oklch(41.5% 0.156 322.5);
Tailwind
colors: {
  custom: {
    50: '#9d65a2',
    500: '#71237c',
    950: '#000000',
  },
}
SCSS
$custom: #71237c;
$custom-light: #9d65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71237c",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 292.584,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.15601,
    "h": 322.5
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#71237C
secondary
#58AF4C
accent
#DF495B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71237C

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

Preview Lab → · Contrast checker → · Palette generator →

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