#71288F#71288F

#71288F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.168 H 314.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#71288F
RGBrgb(113, 40, 143)
HSLhsl(283, 56%, 36%)
HSVhsv(283, 72%, 56%)
CMYKcmyk(21%, 72%, 0%, 43.9%)
CIE-LABlab(31.83, 48.26, -42.67)
CIE-LCHlch(31.83, 64.42, 318.52°)
OKLaboklab(43.36% 0.1169 -0.1203)
OKLCHoklch(43.36% 0.168 314.2)
XYZxyz(12.5259, 7.0119, 26.6749)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71288F #468F28
analogous
#3D288F #71288F #8F2879
triadic
#71288F #8F7128 #288F71
tetradic
#71288F #8F3D28 #468F28 #28798F
square
#71288F #8F3D28 #468F28 #28798F
split-complementary
#71288F #798F28 #288F3D
monochromatic
#250D2F #4B1B5F #71288F #9735BF #B15FD2

Accessibility & contrast

On white

8.74
#71288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#71288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71288F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71288F#FFFFFF#000000##FFFFFF
##71288F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#224D8D
Tritanopia (blue-blind)
#6E3D59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71288f;
/* rgb */ color: rgb(113, 40, 143);
/* oklch */ color: oklch(43.4% 0.168 314.2);
Tailwind
colors: {
  custom: {
    50: '#9d69b0',
    500: '#71288f',
    950: '#000000',
  },
}
SCSS
$custom: #71288f;
$custom-light: #9d69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71288f",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 282.524,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43363,
    "c": 0.16773,
    "h": 314.2
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#71288F
secondary
#76B85B
accent
#E04874
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #71288F

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

Preview Lab → · Contrast checker → · Palette generator →

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