Dark Magenta color: hex code #8B008B

#8B008B rgb(139, 0, 139)
Shades of purple

Dark Magenta has the hex code #8B008B. It is a dark, vivid magenta.

In the RGB color model it is made of 54.5% red, 0% green and 54.5% blue (139, 0, 139).

Its hue angle is 300°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 0% yellow and 45% black.

You can use it in CSS with the keyword darkmagenta.

White text is the more readable choice on this background (contrast 8.5:1).

Dark Magenta (#8B008B) color codes

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%)
CIE LABlab(32.6, 62.55, -38.73)
CIE LCHlch(32.6, 73.57, 328.23)
CIE XYZxyz(15.308, 7.354, 25.034)
Decimal9109643
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Dark Magenta, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #8B008BRatioAAAAAAA large
Sample text2.47:1FailFailFail
Sample text8.5:1PassPassPass
#8B008B as text onRatioAAAAAAA large
Sample text8.5:1PassPassPass
Sample text2.47:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #8B008B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8b008b; }
.text { color: #8b008b; }
.border { border: 2px solid #8b008b; }
.transparent { background-color: rgb(139 0 139 / 50%); }
.gradient { background: linear-gradient(to right, #8b008b, #8b0046); }
Background
Text color
Border

Similar colors

See #8B008B on its hex code page

Questions

What color is #8B008B?
#8B008B is a dark, vivid magenta known as Dark Magenta. It belongs to the purple family of colors.
What is the RGB value of Dark Magenta?
The RGB value is 139, 0, 139: 139 red, 0 green and 139 blue on a 0 to 255 scale.
What is the complementary color of Dark Magenta?
The complementary color is #008B00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8B008B?
White text. Black text has a contrast ratio of 2.47:1 and white text 8.5:1. WCAG asks for at least 4.5:1 for normal text.