#8B008B color (darkmagenta)

#8B008B is rgb(139, 0, 139) in RGB and hsl(300, 100%, 27%) in HSL. It is exactly the CSS color darkmagenta. Use white text on it (contrast 8.50:1).

#8B008Bdarkmagenta
HEX#8B008B
RGBrgb(139, 0, 139)
RGB percentrgb(54.5%, 0%, 54.5%)
HSLhsl(300, 100%, 27%)
HSV / HSBhsv(300, 100%, 55%)
CMYKcmyk(0%, 100%, 0%, 45%)
CIELAB (D65)lab(32.6 62.6 -38.7)

Edit in the color converter → · Check contrast → · Shades →

About #8B008B

#8B008B is a dark, vivid magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red is the strongest channel at 139 (55%) and green the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#8B008B
RGBrgb(139, 0, 139)
RGB percentrgb(54.5%, 0%, 54.5%)
HSLhsl(300, 100%, 27%)
HSV / HSBhsv(300, 100%, 55%)
CMYKcmyk(0%, 100%, 0%, 45%)
CIELAB (D65)lab(32.6 62.6 -38.7)
Decimal9109643
Binary10001011 00000000 10001011

HEX 8B 00 8B → 139, 0, 139 (each pair is a base-16 number: 8×16 + B = 139)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #8B008B

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #8B008BRatioAA normalAA largeAAA normalAAA large
White text8.50:1PassPassPassPass
Black text2.47:1FailFailFailFail
White text on #8B008B
Black text on #8B008B
#8B008B text on white
#8B008B text on black

Relative luminance is 0.0735 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#00428e

Deuteranopia
#355288

Tritanopia
#902450

Achromatopsia
#4d4d4d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 27). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkmagenta#8b008b0
purple#8000802.4
rebeccapurple#6633999.5
darkviolet#9400d310.9

CSS

.element {
  color: #8b008b;
  background-color: rgb(139, 0, 139);
  border: 1px solid hsl(300, 100%, 27%);
  box-shadow: 0 2px 8px rgb(139 0 139 / 50%);
}
:root { --brand: #8b008b; }

Frequently asked questions

What color is #8B008B?
A dark vivid magenta in the pink & magenta family. Closest CSS name: darkmagenta.
What is #8B008B in RGB?
rgb(139, 0, 139): red 139, green 0, blue 139.
What is the complementary color of #8B008B?
#008B00, found by rotating the hue 180°.