Darkmagenta#8B008B

#8B008B is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.7% C 0.205 H 328.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Darkmagenta — editorial page

Color values

HEX#8B008B
RGBrgb(139, 0, 139)
HSLhsl(300, 100%, 27%)
HSVhsv(300, 100%, 55%)
CMYKcmyk(0%, 100%, 0%, 45.5%)
CIE-LABlab(32.60, 62.55, -38.73)
CIE-LCHlch(32.60, 73.57, 328.23°)
OKLaboklab(44.68% 0.1748 -0.1077)
OKLCHoklch(44.68% 0.205 328.4)
XYZxyz(15.3075, 7.3543, 25.0344)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B008B #008B00
analogous
#46008B #8B008B #8B0046
triadic
#8B008B #8B8B00 #008B8B
tetradic
#8B008B #8B4600 #008B00 #00468B
square
#8B008B #8B4600 #008B00 #00468B
split-complementary
#8B008B #468B00 #008B46
monochromatic
#1F001F #4E004E #8B008B #C800C8 #FF06FF

Accessibility & contrast

On white

8.50
#8B008B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B008B
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B008B#FFFFFF#000000##FFFFFF
##8B008B1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#902450
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b008b;
/* rgb */ color: rgb(139, 0, 139);
/* oklch */ color: oklch(44.7% 0.205 328.4);
Tailwind
colors: {
  custom: {
    50: '#b161ad',
    500: '#8b008b',
    950: '#000000',
  },
}
SCSS
$custom: #8b008b;
$custom-light: #b161ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b008b",
  "rgb": {
    "r": 139,
    "g": 0,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.20535,
    "h": 328.4
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#8B008B
secondary
#23C423
accent
#FF2929
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B008B

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

Preview Lab → · Contrast checker → · Palette generator →

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