#8B1479#8B1479

#8B1479 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.182 H 335.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8B1479
RGBrgb(139, 20, 121)
HSLhsl(309, 75%, 31%)
HSVhsv(309, 86%, 55%)
CMYKcmyk(0%, 85.6%, 12.9%, 45.5%)
CIE-LABlab(32.64, 56.59, -27.42)
CIE-LCHlch(32.64, 62.88, 334.15°)
OKLaboklab(44.36% 0.1661 -0.075)
OKLCHoklch(44.36% 0.182 335.7)
XYZxyz(14.3491, 7.3711, 18.7525)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1479 #148B26
analogous
#61148B #8B1479 #8B143D
triadic
#8B1479 #798B14 #14798B
tetradic
#8B1479 #8B6114 #148B26 #143D8B
square
#8B1479 #8B6114 #148B26 #143D8B
split-complementary
#8B1479 #3D8B14 #148B61
monochromatic
#20051C #550C4A #8B1479 #C11CA8 #E237C8

Accessibility & contrast

On white

8.49
#8B1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8B1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1479
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1479#FFFFFF#000000##FFFFFF
##8B14791.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#445376
Tritanopia (blue-blind)
#922048
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1479;
/* rgb */ color: rgb(139, 20, 121);
/* oklch */ color: oklch(44.4% 0.182 335.7);
Tailwind
colors: {
  custom: {
    50: '#b164a0',
    500: '#8b1479',
    950: '#000000',
  },
}
SCSS
$custom: #8b1479;
$custom-light: #b164a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1479",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 309.076,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44364,
    "c": 0.1822,
    "h": 335.7
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#8B1479
secondary
#3CBF50
accent
#F15336
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1479

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

Preview Lab → · Contrast checker → · Palette generator →

#8B1479 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva