#71237B#71237B

#71237B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.155 H 323.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#71237B
RGBrgb(113, 35, 123)
HSLhsl(293, 56%, 31%)
HSVhsv(293, 72%, 48%)
CMYKcmyk(8.1%, 71.5%, 0%, 51.8%)
CIE-LABlab(29.77, 46.27, -33.51)
CIE-LCHlch(29.77, 57.13, 324.08°)
OKLaboklab(41.47% 0.1238 -0.0934)
OKLCHoklch(41.47% 0.155 323)
XYZxyz(10.9859, 6.1435, 19.3422)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71237B #2D7B23
analogous
#45237B #71237B #7B2359
triadic
#71237B #7B7123 #237B71
tetradic
#71237B #7B4523 #2D7B23 #23597B
square
#71237B #7B4523 #2D7B23 #23597B
split-complementary
#71237B #597B23 #237B45
monochromatic
#19081C #45154B #71237B #9D31AB #BE4CCC

Accessibility & contrast

On white

9.42
#71237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71237B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71237B#FFFFFF#000000##FFFFFF
##71237B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407E
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#73324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71237b;
/* rgb */ color: rgb(113, 35, 123);
/* oklch */ color: oklch(41.5% 0.155 323.0);
Tailwind
colors: {
  custom: {
    50: '#9d65a1',
    500: '#71237b',
    950: '#000000',
  },
}
SCSS
$custom: #71237b;
$custom-light: #9d65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71237b",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 293.182,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.15508,
    "h": 323
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#71237B
secondary
#57AE4C
accent
#DF495A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71237B

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

Preview Lab → · Contrast checker → · Palette generator →

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