Swatchproof

Dark magenta #8B008B

Dark magenta is one of the named colours in CSS, written darkmagenta. White text reaches 8.50:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keyworddarkmagenta
HEX#8B008B
RGBrgb(139 0 139)
HSLhsl(300 100% 27%)
OKLCHoklch(44.7% 0.205 328.4)
White text8.50:1 · body text AA Pass
Black text2.47:1 · body text AA Fail

Colours that go with Dark magenta

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Violet Red (#642D5E), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Dark magenta itself.

ColourHEXContrast with Dark magentaBody text AA
Dull Blue Violet#80719E1.93:1Fail

Palettes with Violet Red

Shades and tints of Dark magenta

Nine lightness steps in OKLCH that keep the hue of Dark magenta. Chroma is reduced only where sRGB cannot show it.

:root {
  --darkmagenta-100: #FFF0FE;
  --darkmagenta-200: #FFD5FC;
  --darkmagenta-300: #FFACFB;
  --darkmagenta-400: #F47AF1;
  --darkmagenta-500: #D259D0;
  --darkmagenta-600: #AD34AC;
  --darkmagenta-700: #8C028C;
  --darkmagenta-800: #630063;
  --darkmagenta-900: #3C003C;
}

Text that keeps Dark magenta on screen

Text #8B008B on #FFF0FE reaches 7.75:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours