TintShelf
Interface

Dark Magenta Color Code: Hex #8B008B

The hex code for Dark Magenta is #8B008B (the CSS keyword darkmagenta). Dark Magenta RGB code: rgb(139, 0, 139). The xkcd color survey gives #960056 instead, which looks clearly different; both codes are below with their source.

CSS Color 4, meodai color-name-list#8B008BTop: the code browsers use
xkcd color survey#960056Below: compare edge to edge

Dark Magenta color codes: each Dark Magenta hex code in every format

HEX#8B008B
RGBrgb(139, 0, 139)
HSLhsl(300, 100%, 27%)
OKLCHoklch(44.7% 0.205 328.4)
LABlab(32.5 59.6 -38.5)
CMYKcmyk(0%, 100%, 0%, 45%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
purple
Contrast
8.50:1 with white, 2.47:1 with black
CSS keyword
darkmagenta
Character
dark, vivid
Readable text on it
white (AA)

It is exactly the fourth numbered X11 variant of magenta, Magenta4, which keeps the hue at 55% brightness. The printer media color standard PWG 5101.1 uses the same value for its dark magenta.

A dark, vivid purple with a warm cast. In code, darkmagenta gives exactly this web value. If you mean the color as people usually picture the name, the survey value #960056 is closer: it is about as light and more muted.

White text reads best on it; black text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Purple, its closest named neighbour, it looks lighter, more vivid and neither warmer nor cooler; beside Rebecca Purple it looks about as light, more vivid and warmer.

Colors that go with Dark Magenta

Complementary: the opposite of Dark Magenta

Open in generator

  • #8B008BWhite text 8.50:1
  • #006727White text 7.07:1
  • #C383C0Black text 7.33:1
  • #003D14White text 12.52:1

Analogous

Open in generator

  • #6725B3White text 8.43:1
  • #8B008BWhite text 8.50:1
  • #9B0053White text 8.34:1
  • #D5A5D2Black text 10.14:1

Triadic

Open in generator

  • #8B008BWhite text 8.50:1
  • #695100White text 7.56:1
  • #00606BWhite text 7.28:1
  • #E5C6E3Black text 13.52:1

Monochrome

Open in generator

  • #230023White text 19.17:1
  • #540054White text 13.95:1
  • #8B008BWhite text 8.50:1
  • #B161AFBlack text 5.20:1
  • #D5A5D2Black text 10.14:1

With neutrals

Open in generator

  • #8B008BWhite text 8.50:1
  • #E5C6E3Black text 13.52:1
  • #0D000DWhite text 20.53:1
  • #876685White text 4.92:1

How tints, shades and harmonies are calculated

Preview

Heading on Dark Magenta

Body text on this color, 8.50:1.

Button

Heading in Dark Magenta

Text in this color on white, 8.50:1.

Button

Tints and shades

  1. #E5C6E3
  2. #D5A5D2
  3. #C383C0
  4. #B161AF
  5. #9F3D9D
  6. #8B008B
  7. #6F006F
  8. #540054
  9. #3A003A
  10. #230023
  11. #0D000D

WhiteDark MagentaBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.