#71288B#71288B

#71288B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.164 H 315.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#71288B
RGBrgb(113, 40, 139)
HSLhsl(284, 55%, 35%)
HSVhsv(284, 71%, 55%)
CMYKcmyk(18.7%, 71.2%, 0%, 45.5%)
CIE-LABlab(31.56, 47.41, -40.64)
CIE-LCHlch(31.56, 62.44, 319.39°)
OKLaboklab(43.08% 0.1173 -0.1143)
OKLCHoklch(43.08% 0.164 315.7)
XYZxyz(12.2283, 6.8928, 25.1074)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71288B #428B28
analogous
#3F288B #71288B #8B2874
triadic
#71288B #8B7128 #288B71
tetradic
#71288B #8B3F28 #428B28 #28748B
square
#71288B #8B3F28 #428B28 #28748B
split-complementary
#71288B #748B28 #288B3F
monochromatic
#240D2C #4A1A5B #71288B #9836BB #B25DD0

Accessibility & contrast

On white

8.83
#71288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#71288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71288B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71288B#FFFFFF#000000##FFFFFF
##71288B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#6F3C56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71288b;
/* rgb */ color: rgb(113, 40, 139);
/* oklch */ color: oklch(43.1% 0.164 315.7);
Tailwind
colors: {
  custom: {
    50: '#9d69ad',
    500: '#71288b',
    950: '#000000',
  },
}
SCSS
$custom: #71288b;
$custom-light: #9d69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71288b",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 284.242,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43082,
    "c": 0.16379,
    "h": 315.7
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#71288B
secondary
#71B659
accent
#DF4970
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #71288B

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

Preview Lab → · Contrast checker → · Palette generator →

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