#71287B#71287B

#71287B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.148 H 322.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#71287B
RGBrgb(113, 40, 123)
HSLhsl(293, 51%, 32%)
HSVhsv(293, 67%, 48%)
CMYKcmyk(8.1%, 67.5%, 0%, 51.8%)
CIE-LABlab(30.54, 44.11, -32.29)
CIE-LCHlch(30.54, 54.66, 323.80°)
OKLaboklab(42.02% 0.1179 -0.0899)
OKLCHoklch(42.02% 0.148 322.7)
XYZxyz(11.1436, 6.4590, 19.3948)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71287B #327B28
analogous
#48287B #71287B #7B285C
triadic
#71287B #7B7128 #287B71
tetradic
#71287B #7B4828 #327B28 #285C7B
square
#71287B #7B4828 #327B28 #285C7B
split-complementary
#71287B #5C7B28 #287B48
monochromatic
#1C0A1F #47194D #71287B #9B37A9 #BA56C8

Accessibility & contrast

On white

9.16
#71287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71287B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71287B#FFFFFF#000000##FFFFFF
##71287B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#73354E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71287b;
/* rgb */ color: rgb(113, 40, 123);
/* oklch */ color: oklch(42.0% 0.148 322.7);
Tailwind
colors: {
  custom: {
    50: '#9c68a1',
    500: '#71287b',
    950: '#000000',
  },
}
SCSS
$custom: #71287b;
$custom-light: #9c68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71287b",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 292.771,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.14826,
    "h": 322.7
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#71287B
secondary
#5DAD52
accent
#DA4D5E
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71287B

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

Preview Lab → · Contrast checker → · Palette generator →

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