#71286F#71286F

#71286F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.137 H 328.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#71286F
RGBrgb(113, 40, 111)
HSLhsl(302, 48%, 30%)
HSVhsv(302, 65%, 44%)
CMYKcmyk(0%, 64.6%, 1.8%, 55.7%)
CIE-LABlab(29.85, 41.79, -25.77)
CIE-LCHlch(29.85, 49.10, 328.34°)
OKLaboklab(41.3% 0.1173 -0.071)
OKLCHoklch(41.3% 0.137 328.8)
XYZxyz(10.4380, 6.1767, 15.6783)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71286F #28712A
analogous
#4F2871 #71286F #71284A
triadic
#71286F #6F7128 #286F71
tetradic
#71286F #714F28 #28712A #284A71
square
#71286F #714F28 #28712A #284A71
split-complementary
#71286F #4A7128 #28714F
monochromatic
#170816 #441843 #71286F #9E389B #C252BF

Accessibility & contrast

On white

9.40
#71286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#71286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71286F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71286F#FFFFFF#000000##FFFFFF
##71286F1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#3A4A6D
Tritanopia (blue-blind)
#753147
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71286f;
/* rgb */ color: rgb(113, 40, 111);
/* oklch */ color: oklch(41.3% 0.137 328.8);
Tailwind
colors: {
  custom: {
    50: '#9c6898',
    500: '#71286f',
    950: '#000000',
  },
}
SCSS
$custom: #71286f;
$custom-light: #9c6898;
$custom-dark: #000000;
JSON
{
  "hex": "#71286f",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 301.644,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.13711,
    "h": 328.8
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#71286F
secondary
#52A354
accent
#D75450
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #71286F

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

Preview Lab → · Contrast checker → · Palette generator →

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