#8B1A79#8B1A79

#8B1A79 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 335.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8B1A79
RGBrgb(139, 26, 121)
HSLhsl(310, 68%, 32%)
HSVhsv(310, 81%, 55%)
CMYKcmyk(0%, 81.3%, 12.9%, 45.5%)
CIE-LABlab(33.16, 55.09, -26.60)
CIE-LCHlch(33.16, 61.18, 334.23°)
OKLaboklab(44.74% 0.1616 -0.0727)
OKLCHoklch(44.74% 0.177 335.8)
XYZxyz(14.4683, 7.6096, 18.7923)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A79 #1A8B2C
analogous
#651A8B #8B1A79 #8B1A40
triadic
#8B1A79 #798B1A #1A798B
tetradic
#8B1A79 #8B651A #1A8B2C #1A408B
square
#8B1A79 #8B651A #1A8B2C #1A408B
split-complementary
#8B1A79 #408B1A #1A8B65
monochromatic
#24071F #57104C #8B1A79 #BF24A6 #DC43C4

Accessibility & contrast

On white

8.33
#8B1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A79
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A79#FFFFFF#000000##FFFFFF
##8B1A791.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#455476
Tritanopia (blue-blind)
#922449
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1a79;
/* rgb */ color: rgb(139, 26, 121);
/* oklch */ color: oklch(44.7% 0.177 335.8);
Tailwind
colors: {
  custom: {
    50: '#b166a0',
    500: '#8b1a79',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a79;
$custom-light: #b166a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a79",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 309.558,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44735,
    "c": 0.17717,
    "h": 335.8
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#8B1A79
secondary
#44BD57
accent
#EB583C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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