#402048Dark Magenta

#402048 is a dark magenta in the Magenta family. In practice it looks like a soft, dusty medium-dark mulberry, and it is also commonly known as Mulberry, Boysenberry. Below are all of its color space values, an 11-step scale, harmony palettes and accessibility data.

#402048
CSS Namemidnightblue (closest)

Tints and shades (50–950)

50#f7f4f8
100#eee7ef
200#e1d4e4
300#ceb7d4
400#b595be
500#a27bab
600#8f6a98
700#785680
800#64476c
900#553c5c
950#322237

Accessibility

Contrast on white
13.83:1
Contrast on black
1.52:1
  • AA (4.5:1) on whitePass
  • AA Large (3:1) on whitePass
  • AAA (7:1) on whitePass
  • AAA Large (4.5:1) on whitePass
  • UI components (3:1) on whitePass

Need a passing variant? Repair this color in the contrast checker.

Complementary palette

Analogous palette

Triadic palette

Copy-ready CSS

brand-scale.css
:root {
  --brand-50: oklch(0.971 0.006 319.3); /* #f7f4f8 */
  --brand-100: oklch(0.936 0.013 319.3); /* #eee7ef */
  --brand-200: oklch(0.885 0.026 319.3); /* #e1d4e4 */
  --brand-300: oklch(0.808 0.047 319.3); /* #ceb7d4 */
  --brand-400: oklch(0.712 0.069 319.3); /* #b595be */
  --brand-500: oklch(0.637 0.083 319.3); /* #a27bab */
  --brand-600: oklch(0.577 0.082 319.3); /* #8f6a98 */
  --brand-700: oklch(0.505 0.077 319.3); /* #785680 */
  --brand-800: oklch(0.444 0.068 319.3); /* #64476c */
  --brand-900: oklch(0.396 0.062 319.3); /* #553c5c */
  --brand-950: oklch(0.281 0.043 319.3); /* #322237 */
}

Explore other colors