#71278E#71278E

#71278E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.168 H 314.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#71278E
RGBrgb(113, 39, 142)
HSLhsl(283, 57%, 35%)
HSVhsv(283, 73%, 56%)
CMYKcmyk(20.4%, 72.5%, 0%, 44.3%)
CIE-LABlab(31.61, 48.48, -42.41)
CIE-LCHlch(31.61, 64.41, 318.82°)
OKLaboklab(43.18% 0.1181 -0.1195)
OKLCHoklch(43.18% 0.168 314.7)
XYZxyz(12.4172, 6.9152, 26.2666)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71278E #448E27
analogous
#3E278E #71278E #8E2777
triadic
#71278E #8E7127 #278E71
tetradic
#71278E #8E3E27 #448E27 #27778E
square
#71278E #8E3E27 #448E27 #27778E
split-complementary
#71278E #778E27 #278E3E
monochromatic
#250D2E #4B1A5E #71278E #9734BE #B15DD2

Accessibility & contrast

On white

8.81
#71278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#71278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71278E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71278E#FFFFFF#000000##FFFFFF
##71278E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#6E3C58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #71278e;
/* rgb */ color: rgb(113, 39, 142);
/* oklch */ color: oklch(43.2% 0.168 314.7);
Tailwind
colors: {
  custom: {
    50: '#9d68b0',
    500: '#71278e',
    950: '#000000',
  },
}
SCSS
$custom: #71278e;
$custom-light: #9d68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#71278e",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 283.107,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43183,
    "c": 0.16801,
    "h": 314.7
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#71278E
secondary
#74B859
accent
#E04873
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #71278E

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

Preview Lab → · Contrast checker → · Palette generator →

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