Dark Magenta #8B008B

Dark Magenta is a dark, vivid purple with hex code #8B008B and RGB rgb(139, 0, 139).

Aa

White text reads best on this color (8.49:1).

About this color

#8B008B is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.205 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. It is the named color Dark Magenta. White text reads best on it, at 8.49:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.205)
Temperaturein between
Nearest nameDark Magenta
Black text2.47:1
White text8.49:1

Colors that go with Dark Magenta

Matches found by rotating Dark Magenta around the OKLCH hue wheel, each labelled with the closest name in our list.

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

Color palettes with Dark Magenta

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Dark Magenta, closest first.

Similar named colors

The eight named colors closest to Dark Magenta, with their ΔE distance.

More about Dark Magenta

How to make Dark Magenta

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 1 part purple

Recipe result: #6E2D91, a difference of ΔE 0.070 from Dark Magenta. That is close; add a little more of one paint to match.

What colors make purple? | Color mixing chart

Codes for Dark Magenta in every format

HEX#8B008B
RGBrgb(139, 0, 139)
HSLhsl(300, 100%, 27%)
OKLCHoklch(44.7% 0.205 328.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #8B008B 8.49:1 AAA Lc -91.7 Preferred for body text
Black text on #8B008B 2.47:1 Fails Lc 17.0 Dividers and decoration only
#8B008B text on white 8.49:1 AAA Lc 87.0 Fine for body text
#8B008B text on black 2.47:1 Fails Lc -15.1 Dividers and decoration only

Shades and tints of Dark Magenta

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #FCF2FB

    oklch(97.1% 0.016 328.8)

  2. Step 100

    100

    #F7E2F6

    oklch(93.6% 0.035 327.3)

  3. Step 200

    200

    #F2CAF0

    oklch(88.5% 0.067 327.7)

  4. Step 300

    300

    #EBA4E7

    oklch(80.8% 0.12 328.5)

  5. Step 400

    400

    #DE6EDB

    oklch(70.7% 0.191 328.4)

  6. Step 500

    500

    #D23AD1

    oklch(63% 0.245 328.3)

  7. Step 600

    600

    #BB00BB

    oklch(55.6% 0.255 328.4)

  8. Step 700

    700

    #9E009E

    oklch(49.1% 0.226 328.4)

  9. Step 800

    800 (this color)

    #8B008B

    oklch(44.7% 0.205 328.4)

  10. Step 900

    900

    #6B0F6B

    oklch(37.8% 0.16 328.2)

  11. Step 950

    950

    #3F0D3E

    oklch(27% 0.101 328.8)

Export this scale for Tailwind in the Tailwind colors tool

Dark Magenta with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#00428E0.215
Deuteranopia (no green cones)#3552880.189
Tritanopia (no blue cones)#9024500.112
Achromatopsia (no color)#4D4D4D0.207

Use Dark Magenta in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.