Skip to content
  • No data uploaded
  • Instant results

Dark Magenta — #8B008B

Dark Magenta is the CSS named colour darkmagenta, hex #8B008B. It has a contrast ratio of 8.50:1 on white and 2.47:1 on black — readable as text on white backgrounds (WCAG AA).

Dark Magenta — #8B008B

Contrast on white 8.50:1 · on black 2.47:1

Tints
Shades
Complementary
Triadic
Analogous

Free Dark Magenta — #8B008B by pGento

Using Dark Magenta in code

CSS: color: darkmagenta; or color: #8B008B; · Tailwind: text-[#8B008B] · Android/Flutter: 0xFF8B008B

Dark Magenta colour harmonies

Complementary: #008B00 · Triadic: #8B8B00, #008B8B · Analogous: #46008B, #8B0046. Use tints for backgrounds and shades for hover states.

Dark Magenta in every colour format

FormatValue
HEX#8B008B
RGBrgb(139, 0, 139)
HSLhsl(300, 100%, 27%)
HSVhsv(300, 100%, 55%)
CMYKcmyk(0%, 100%, 0%, 45%)
CSS namedarkmagenta
Contrast on white8.50:1
Contrast on black2.47:1

Frequently asked questions

What is the hex code for Dark Magenta?
#8B008B (CSS name: darkmagenta).
What is Dark Magenta in RGB?
rgb(139, 0, 139)
What colour goes well with Dark Magenta?
Its complementary colour #008B00, or the analogous #46008B and #8B0046.
Dark Magenta — #8B008B

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.