#71278B#71278B

#71278B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.165 H 315.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#71278B
RGBrgb(113, 39, 139)
HSLhsl(284, 56%, 35%)
HSVhsv(284, 72%, 55%)
CMYKcmyk(18.7%, 71.9%, 0%, 45.5%)
CIE-LABlab(31.41, 47.84, -40.89)
CIE-LCHlch(31.41, 62.93, 319.48°)
OKLaboklab(42.97% 0.1184 -0.115)
OKLCHoklch(42.97% 0.165 315.8)
XYZxyz(12.1950, 6.8263, 25.0963)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71278B #418B27
analogous
#3F278B #71278B #8B2773
triadic
#71278B #8B7127 #278B71
tetradic
#71278B #8B3F27 #418B27 #27738B
square
#71278B #8B3F27 #418B27 #27738B
split-complementary
#71278B #738B27 #278B3F
monochromatic
#230C2B #4A1A5B #71278B #9834BB #B25BD1

Accessibility & contrast

On white

8.88
#71278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71278B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71278B#FFFFFF#000000##FFFFFF
##71278B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71278b;
/* rgb */ color: rgb(113, 39, 139);
/* oklch */ color: oklch(43.0% 0.165 315.8);
Tailwind
colors: {
  custom: {
    50: '#9d68ad',
    500: '#71278b',
    950: '#000000',
  },
}
SCSS
$custom: #71278b;
$custom-light: #9d68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71278b",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 284.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.16508,
    "h": 315.8
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#71278B
secondary
#70B658
accent
#DF4870
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #71278B

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

Preview Lab → · Contrast checker → · Palette generator →

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