#71278C#71278C

#71278C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.166 H 315.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#71278C
RGBrgb(113, 39, 140)
HSLhsl(284, 56%, 35%)
HSVhsv(284, 72%, 55%)
CMYKcmyk(19.3%, 72.1%, 0%, 45.1%)
CIE-LABlab(31.48, 48.05, -41.40)
CIE-LCHlch(31.48, 63.42, 319.25°)
OKLaboklab(43.04% 0.1183 -0.1165)
OKLCHoklch(43.04% 0.166 315.4)
XYZxyz(12.2684, 6.8556, 25.4829)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71278C #428C27
analogous
#3E278C #71278C #8C2775
triadic
#71278C #8C7127 #278C71
tetradic
#71278C #8C3E27 #428C27 #27758C
square
#71278C #8C3E27 #428C27 #27758C
split-complementary
#71278C #758C27 #278C3E
monochromatic
#240C2C #4A1A5C #71278C #9834BC #B25CD2

Accessibility & contrast

On white

8.86
#71278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#71278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71278C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71278C#FFFFFF#000000##FFFFFF
##71278C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#254C8A
Tritanopia (blue-blind)
#6F3C57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71278c;
/* rgb */ color: rgb(113, 39, 140);
/* oklch */ color: oklch(43.0% 0.166 315.4);
Tailwind
colors: {
  custom: {
    50: '#9d68ae',
    500: '#71278c',
    950: '#000000',
  },
}
SCSS
$custom: #71278c;
$custom-light: #9d68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71278c",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 283.96,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.16605,
    "h": 315.4
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#71278C
secondary
#71B758
accent
#E04871
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #71278C

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

Preview Lab → · Contrast checker → · Palette generator →

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