#8B1C79#8B1C79

#8B1C79 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.175 H 335.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8B1C79
RGBrgb(139, 28, 121)
HSLhsl(310, 66%, 33%)
HSVhsv(310, 80%, 55%)
CMYKcmyk(0%, 79.9%, 12.9%, 45.5%)
CIE-LABlab(33.35, 54.52, -26.29)
CIE-LCHlch(33.35, 60.53, 334.26°)
OKLaboklab(44.88% 0.1599 -0.0718)
OKLCHoklch(44.88% 0.175 335.8)
XYZxyz(14.5141, 7.7013, 18.8076)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C79 #1C8B2E
analogous
#661C8B #8B1C79 #8B1C41
triadic
#8B1C79 #798B1C #1C798B
tetradic
#8B1C79 #8B661C #1C8B2E #1C418B
square
#8B1C79 #8B661C #1C8B2E #1C418B
split-complementary
#8B1C79 #418B1C #1C8B66
monochromatic
#250720 #58124D #8B1C79 #BE26A5 #DA47C2

Accessibility & contrast

On white

8.27
#8B1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B1C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C79
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C79#FFFFFF#000000##FFFFFF
##8B1C791.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#922549
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1c79;
/* rgb */ color: rgb(139, 28, 121);
/* oklch */ color: oklch(44.9% 0.175 335.8);
Tailwind
colors: {
  custom: {
    50: '#b166a0',
    500: '#8b1c79',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c79;
$custom-light: #b166a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c79",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 309.73,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44876,
    "c": 0.17528,
    "h": 335.8
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#8B1C79
secondary
#47BC5A
accent
#E95A3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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