#520D5A

Closest named color: Plum Purple (#4E0550). oklch(32.2% 0.136 323.3), rgb(82, 13, 90).

Aa

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

About this color

#520D5A is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.136 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.022 away. White text reads best on it, at 13.42:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.56:1
White text13.42:1

Values

HEX#520D5A
RGBrgb(82, 13, 90)
HSLhsl(294, 75%, 20%)
OKLCHoklch(32.2% 0.136 323.3)

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 #520D5A 13.42:1 AAA Lc -102.2 Preferred for body text
Black text on #520D5A 1.56:1 Fails Lc 0.0 Not readable
#520D5A text on white 13.42:1 AAA Lc 98.8 Preferred for body text
#520D5A text on black 1.56:1 Fails Lc 0.0 Not readable

Tints and shades

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 950.

  1. Step 50

    50

    #FDF1FE

    oklch(97.1% 0.021 323.4)

  2. Step 100

    100

    #FAE0FC

    oklch(93.6% 0.046 323.7)

  3. Step 200

    200

    #F7C6FC

    oklch(88.6% 0.09 323.3)

  4. Step 300

    300

    #F29BFC

    oklch(80.9% 0.161 323.2)

  5. Step 400

    400

    #E855FA

    oklch(70.7% 0.257 323.2)

  6. Step 500

    500

    #D700ED

    oklch(63.1% 0.298 323.1)

  7. Step 600

    600

    #B600C8

    oklch(55.6% 0.262 323.3)

  8. Step 700

    700

    #9A00A9

    oklch(49.2% 0.232 323.5)

  9. Step 800

    800

    #7F008C

    oklch(42.8% 0.202 323.3)

  10. Step 900

    900

    #6A0076

    oklch(37.7% 0.178 322.9)

  11. Step 950

    950 (this color)

    #520D5A

    oklch(32.2% 0.136 323.3)

Export this scale for Tailwind in the Tailwind colors tool

#520D5A 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)#002A5C0.138
Deuteranopia (no green cones)#1B31580.121
Tritanopia (no blue cones)#531D340.080
Achromatopsia (no color)#2F2F2F0.137

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #520D5A

    #520D5A

    oklch(32.2% 0.136 323.3)

  • #004004

    #004004

    oklch(32.2% 0.107 143.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520D5A

    #520D5A

    oklch(32.2% 0.136 323.3)

  • #3A1C71

    #3A1C71

    oklch(32.4% 0.137 293.4)

  • #610039

    #610039

    oklch(32.3% 0.133 353.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #520D5A

    #520D5A

    oklch(32.2% 0.136 323.3)

  • #343700

    #343700

    oklch(32.3% 0.072 113.1)

  • #003D31

    #003D31

    oklch(32.1% 0.061 174.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520D5A

    #520D5A

    oklch(32.2% 0.136 323.3)

  • #443000

    #443000

    oklch(32.4% 0.067 83.3)

  • #003B40

    #003B40

    oklch(32.1% 0.055 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520D5A

    #520D5A

    oklch(32.2% 0.136 323.3)

  • #522500

    #522500

    oklch(32.2% 0.081 53.4)

  • #004004

    #004004

    oklch(32.2% 0.107 143.4)

  • #003850

    #003850

    oklch(32.1% 0.067 234.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #520D5A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #520D5A 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.