#71237D#71237D

#71237D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.157 H 322.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#71237D
RGBrgb(113, 35, 125)
HSLhsl(292, 56%, 31%)
HSVhsv(292, 72%, 49%)
CMYKcmyk(9.6%, 72%, 0%, 51%)
CIE-LABlab(29.90, 46.66, -34.57)
CIE-LCHlch(29.90, 58.07, 323.46°)
OKLaboklab(41.6% 0.1237 -0.0965)
OKLCHoklch(41.6% 0.157 322)
XYZxyz(11.1124, 6.1941, 20.0083)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71237D #2F7D23
analogous
#44237D #71237D #7D235C
triadic
#71237D #7D7123 #237D71
tetradic
#71237D #7D4423 #2F7D23 #235C7D
square
#71237D #7D4423 #2F7D23 #235C7D
split-complementary
#71237D #5C7D23 #237D44
monochromatic
#1B081D #46164D #71237D #9C30AD #BC4DCD

Accessibility & contrast

On white

9.38
#71237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#71237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71237D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71237D#FFFFFF#000000##FFFFFF
##71237D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034180
Deuteranopia (green-blind)
#2F497B
Tritanopia (blue-blind)
#72334D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71237d;
/* rgb */ color: rgb(113, 35, 125);
/* oklch */ color: oklch(41.6% 0.157 322.0);
Tailwind
colors: {
  custom: {
    50: '#9d66a3',
    500: '#71237d',
    950: '#000000',
  },
}
SCSS
$custom: #71237d;
$custom-light: #9d66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71237d",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 292,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.15692,
    "h": 322
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#71237D
secondary
#5AAF4C
accent
#E0485C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71237D

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

Preview Lab → · Contrast checker → · Palette generator →

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