#71287E#71287E

#71287E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 321.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#71287E
RGBrgb(113, 40, 126)
HSLhsl(291, 52%, 33%)
HSVhsv(291, 68%, 49%)
CMYKcmyk(10.3%, 68.3%, 0%, 50.6%)
CIE-LABlab(30.72, 44.71, -33.88)
CIE-LCHlch(30.72, 56.10, 322.84°)
OKLaboklab(42.21% 0.1179 -0.0945)
OKLCHoklch(42.21% 0.151 321.3)
XYZxyz(11.3343, 6.5352, 20.3990)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71287E #357E28
analogous
#46287E #71287E #7E2860
triadic
#71287E #7E7128 #287E71
tetradic
#71287E #7E4628 #357E28 #28607E
square
#71287E #7E4628 #357E28 #28607E
split-complementary
#71287E #607E28 #287E46
monochromatic
#1E0B21 #471950 #71287E #9B37AC #B857CA

Accessibility & contrast

On white

9.10
#71287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71287E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71287E#FFFFFF#000000##FFFFFF
##71287E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4381
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#72374F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71287e;
/* rgb */ color: rgb(113, 40, 126);
/* oklch */ color: oklch(42.2% 0.151 321.3);
Tailwind
colors: {
  custom: {
    50: '#9d68a4',
    500: '#71287e',
    950: '#000000',
  },
}
SCSS
$custom: #71287e;
$custom-light: #9d68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71287e",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 290.93,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.15113,
    "h": 321.3
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#71287E
secondary
#61AF53
accent
#DB4D62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71287E

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

Preview Lab → · Contrast checker → · Palette generator →

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