#71237A#71237A

#71237A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.154 H 323.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#71237A
RGBrgb(113, 35, 122)
HSLhsl(294, 55%, 31%)
HSVhsv(294, 71%, 48%)
CMYKcmyk(7.4%, 71.3%, 0%, 52.2%)
CIE-LABlab(29.71, 46.07, -32.98)
CIE-LCHlch(29.71, 56.66, 324.40°)
OKLaboklab(41.4% 0.1238 -0.0919)
OKLCHoklch(41.4% 0.154 323.4)
XYZxyz(10.9236, 6.1186, 19.0142)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71237A #2C7A23
analogous
#45237A #71237A #7A2357
triadic
#71237A #7A7123 #237A71
tetradic
#71237A #7A4523 #2C7A23 #23577A
square
#71237A #7A4523 #2C7A23 #23577A
split-complementary
#71237A #577A23 #237A45
monochromatic
#19081B #45154A #71237A #9D31AA #BE4CCC

Accessibility & contrast

On white

9.44
#71237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71237A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71237A#FFFFFF#000000##FFFFFF
##71237A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407C
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#73324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71237a;
/* rgb */ color: rgb(113, 35, 122);
/* oklch */ color: oklch(41.4% 0.154 323.4);
Tailwind
colors: {
  custom: {
    50: '#9d65a1',
    500: '#71237a',
    950: '#000000',
  },
}
SCSS
$custom: #71237a;
$custom-light: #9d65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71237a",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 293.793,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.15417,
    "h": 323.4
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#71237A
secondary
#56AD4C
accent
#DF4959
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #71237A

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

Preview Lab → · Contrast checker → · Palette generator →

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