#71278A#71278A

#71278A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.164 H 316.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#71278A
RGBrgb(113, 39, 138)
HSLhsl(285, 56%, 35%)
HSVhsv(285, 72%, 54%)
CMYKcmyk(18.1%, 71.7%, 0%, 45.9%)
CIE-LABlab(31.34, 47.63, -40.38)
CIE-LCHlch(31.34, 62.44, 319.71°)
OKLaboklab(42.9% 0.1185 -0.1135)
OKLCHoklch(42.9% 0.164 316.2)
XYZxyz(12.1223, 6.7972, 24.7133)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71278A #408A27
analogous
#3F278A #71278A #8A2772
triadic
#71278A #8A7127 #278A71
tetradic
#71278A #8A3F27 #408A27 #27728A
square
#71278A #8A3F27 #408A27 #27728A
split-complementary
#71278A #728A27 #278A3F
monochromatic
#230C2B #4A1A5A #71278A #9834BA #B35BD1

Accessibility & contrast

On white

8.90
#71278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#71278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71278A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71278A#FFFFFF#000000##FFFFFF
##71278A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#6F3B56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71278a;
/* rgb */ color: rgb(113, 39, 138);
/* oklch */ color: oklch(42.9% 0.164 316.2);
Tailwind
colors: {
  custom: {
    50: '#9d68ad',
    500: '#71278a',
    950: '#000000',
  },
}
SCSS
$custom: #71278a;
$custom-light: #9d68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71278a",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 284.848,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.1641,
    "h": 316.2
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#71278A
secondary
#6FB657
accent
#DF496F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71278A

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

Preview Lab → · Contrast checker → · Palette generator →

#71278A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva