#71287D#71287D

#71287D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.150 H 321.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#71287D
RGBrgb(113, 40, 125)
HSLhsl(292, 52%, 32%)
HSVhsv(292, 68%, 49%)
CMYKcmyk(9.6%, 68%, 0%, 51%)
CIE-LABlab(30.66, 44.51, -33.35)
CIE-LCHlch(30.66, 55.61, 323.15°)
OKLaboklab(42.15% 0.1179 -0.093)
OKLCHoklch(42.15% 0.15 321.7)
XYZxyz(11.2701, 6.5096, 20.0609)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71287D #347D28
analogous
#46287D #71287D #7D285F
triadic
#71287D #7D7128 #287D71
tetradic
#71287D #7D4628 #347D28 #285F7D
square
#71287D #7D4628 #347D28 #285F7D
split-complementary
#71287D #5F7D28 #287D46
monochromatic
#1D0A20 #47194F #71287D #9B37AB #B956C9

Accessibility & contrast

On white

9.12
#71287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#71287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71287D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71287D#FFFFFF#000000##FFFFFF
##71287D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#72364F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71287d;
/* rgb */ color: rgb(113, 40, 125);
/* oklch */ color: oklch(42.1% 0.150 321.7);
Tailwind
colors: {
  custom: {
    50: '#9d68a3',
    500: '#71287d',
    950: '#000000',
  },
}
SCSS
$custom: #71287d;
$custom-light: #9d68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71287d",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 291.529,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.15016,
    "h": 321.7
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#71287D
secondary
#60AE53
accent
#DB4D61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71287D

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

Preview Lab → · Contrast checker → · Palette generator →

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