#8B1B79#8B1B79

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

Color values

HEX#8B1B79
RGBrgb(139, 27, 121)
HSLhsl(310, 67%, 33%)
HSVhsv(310, 81%, 55%)
CMYKcmyk(0%, 80.6%, 12.9%, 45.5%)
CIE-LABlab(33.25, 54.81, -26.45)
CIE-LCHlch(33.25, 60.86, 334.24°)
OKLaboklab(44.8% 0.1607 -0.0722)
OKLCHoklch(44.8% 0.176 335.8)
XYZxyz(14.4908, 7.6547, 18.7998)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B79 #1B8B2D
analogous
#651B8B #8B1B79 #8B1B41
triadic
#8B1B79 #798B1B #1B798B
tetradic
#8B1B79 #8B651B #1B8B2D #1B418B
square
#8B1B79 #8B651B #1B8B2D #1B418B
split-complementary
#8B1B79 #418B1B #1B8B65
monochromatic
#250720 #58114C #8B1B79 #BE25A6 #DB45C3

Accessibility & contrast

On white

8.30
#8B1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B79
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B79#FFFFFF#000000##FFFFFF
##8B1B791.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1b79;
/* rgb */ color: rgb(139, 27, 121);
/* oklch */ color: oklch(44.8% 0.176 335.8);
Tailwind
colors: {
  custom: {
    50: '#b166a0',
    500: '#8b1b79',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b79;
$custom-light: #b166a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b79",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 309.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.17623,
    "h": 335.8
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#8B1B79
secondary
#45BC58
accent
#EA593D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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