#8D1B8D color

#8D1B8D is rgb(141, 27, 141) in RGB and hsl(300, 68%, 33%) in HSL. The closest CSS named color is darkmagenta (#8b008b, ΔE 2.1). Use white text on it (contrast 7.85:1).

#8D1B8Dmagenta
HEX#8D1B8D
RGBrgb(141, 27, 141)
RGB percentrgb(55.3%, 10.6%, 55.3%)
HSLhsl(300, 68%, 33%)
HSV / HSBhsv(300, 81%, 55%)
CMYKcmyk(0%, 81%, 0%, 45%)
CIELAB (D65)lab(34.7 58.4 -36.5)

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

About #8D1B8D

#8D1B8D is a medium-dark, saturated 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 141 (55%) and green the weakest at 27 (11%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#8D1B8D
RGBrgb(141, 27, 141)
RGB percentrgb(55.3%, 10.6%, 55.3%)
HSLhsl(300, 68%, 33%)
HSV / HSBhsv(300, 81%, 55%)
CMYKcmyk(0%, 81%, 0%, 45%)
CIELAB (D65)lab(34.7 58.4 -36.5)
Decimal9247629
Binary10001101 00011011 10001101

HEX 8D 1B 8D → 141, 27, 141 (each pair is a base-16 number: 8×16 + D = 141)

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 #8D1B8D

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #8D1B8DRatioAA normalAA largeAAA normalAAA large
White text7.85:1PassPassPassPass
Black text2.67:1FailFailFailFail
White text on #8D1B8D
Black text on #8D1B8D
#8D1B8D text on white
#8D1B8D text on black

Relative luminance is 0.0837 (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
#004890

Deuteranopia
#3d578a

Tritanopia
#922f55

Achromatopsia
#525252

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 26.1). 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#8b008b2.1
purple#8000803.9
rebeccapurple#6633999.2
darkviolet#9400d310.6

CSS

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

Frequently asked questions

What color is #8D1B8D?
A medium-dark saturated magenta in the pink & magenta family. Closest CSS name: darkmagenta.
What is #8D1B8D in RGB?
rgb(141, 27, 141): red 141, green 27, blue 141.
What is the complementary color of #8D1B8D?
#1B8D1B, found by rotating the hue 180°.