#71287A#71287A

#71287A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.147 H 323.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#71287A
RGBrgb(113, 40, 122)
HSLhsl(293, 51%, 32%)
HSVhsv(293, 67%, 48%)
CMYKcmyk(7.4%, 67.2%, 0%, 52.2%)
CIE-LABlab(30.48, 43.91, -31.75)
CIE-LCHlch(30.48, 54.18, 324.13°)
OKLaboklab(41.96% 0.1179 -0.0883)
OKLCHoklch(41.96% 0.147 323.2)
XYZxyz(11.0814, 6.4341, 19.0668)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71287A #317A28
analogous
#48287A #71287A #7A285A
triadic
#71287A #7A7128 #287A71
tetradic
#71287A #7A4828 #317A28 #285A7A
square
#71287A #7A4828 #317A28 #285A7A
split-complementary
#71287A #5A7A28 #287A48
monochromatic
#1C0A1E #46194C #71287A #9C37A8 #BB55C7

Accessibility & contrast

On white

9.18
#71287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#71287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71287A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71287A#FFFFFF#000000##FFFFFF
##71287A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#73354D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71287a;
/* rgb */ color: rgb(113, 40, 122);
/* oklch */ color: oklch(42.0% 0.147 323.2);
Tailwind
colors: {
  custom: {
    50: '#9c68a1',
    500: '#71287a',
    950: '#000000',
  },
}
SCSS
$custom: #71287a;
$custom-light: #9c68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71287a",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 293.415,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.14731,
    "h": 323.2
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#71287A
secondary
#5CAC52
accent
#DA4E5D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #71287A

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

Preview Lab → · Contrast checker → · Palette generator →

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