#71287F#71287F

#71287F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 320.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#71287F
RGBrgb(113, 40, 127)
HSLhsl(290, 52%, 33%)
HSVhsv(290, 69%, 50%)
CMYKcmyk(11%, 68.5%, 0%, 50.2%)
CIE-LABlab(30.79, 44.91, -34.41)
CIE-LCHlch(30.79, 56.58, 322.54°)
OKLaboklab(42.28% 0.1179 -0.0961)
OKLCHoklch(42.28% 0.152 320.8)
XYZxyz(11.3992, 6.5612, 20.7406)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71287F #367F28
analogous
#45287F #71287F #7F2861
triadic
#71287F #7F7128 #287F71
tetradic
#71287F #7F4528 #367F28 #28617F
square
#71287F #7F4528 #367F28 #28617F
split-complementary
#71287F #617F28 #287F45
monochromatic
#1E0B22 #481950 #71287F #9A37AE #B857CA

Accessibility & contrast

On white

9.08
#71287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#71287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71287F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71287F#FFFFFF#000000##FFFFFF
##71287F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4382
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#723750
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71287f;
/* rgb */ color: rgb(113, 40, 127);
/* oklch */ color: oklch(42.3% 0.152 320.8);
Tailwind
colors: {
  custom: {
    50: '#9d68a4',
    500: '#71287f',
    950: '#000000',
  },
}
SCSS
$custom: #71287f;
$custom-light: #9d68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71287f",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 290.345,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.15209,
    "h": 320.8
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#71287F
secondary
#62AF54
accent
#DC4C63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71287F

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

Preview Lab → · Contrast checker → · Palette generator →

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