#520C52

Closest named color: Plum Purple (#4E0550). oklch(31.6% 0.13 328.1), rgb(82, 12, 82).

Aa

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

About this color

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

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

Values

HEX#520C52
RGBrgb(82, 12, 82)
HSLhsl(300, 74%, 18%)
OKLCHoklch(31.6% 0.13 328.1)

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 #520C52 13.69:1 AAA Lc -102.5 Preferred for body text
Black text on #520C52 1.53:1 Fails Lc 0.0 Not readable
#520C52 text on white 13.69:1 AAA Lc 99.2 Preferred for body text
#520C52 text on black 1.53: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

    #FEF1FD

    oklch(97.2% 0.021 328.1)

  2. Step 100

    100

    #FBE0F9

    oklch(93.6% 0.044 328.2)

  3. Step 200

    200

    #F9C6F6

    oklch(88.6% 0.085 328.2)

  4. Step 300

    300

    #F69BF2

    oklch(81% 0.153 328.4)

  5. Step 400

    400

    #ED56EC

    oklch(70.7% 0.247 328.1)

  6. Step 500

    500

    #DD00DE

    oklch(63% 0.29 328.1)

  7. Step 600

    600

    #BB00BC

    oklch(55.6% 0.256 328.1)

  8. Step 700

    700

    #9E009F

    oklch(49.1% 0.226 328)

  9. Step 800

    800

    #820083

    oklch(42.6% 0.196 328)

  10. Step 900

    900

    #6E006E

    oklch(37.8% 0.174 328.4)

  11. Step 950

    950 (this color)

    #520C52

    oklch(31.6% 0.13 328.1)

Export this scale for Tailwind in the Tailwind colors tool

#520C52 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)#0028540.141
Deuteranopia (no green cones)#2130500.117
Tritanopia (no blue cones)#55182F0.072
Achromatopsia (no color)#2D2D2D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #520C52

    #520C52

    oklch(31.6% 0.13 328.1)

  • #003E14

    #003E14

    oklch(31.7% 0.092 148.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520C52

    #520C52

    oklch(31.6% 0.13 328.1)

  • #3C1A69

    #3C1A69

    oklch(31.6% 0.129 298.2)

  • #5F0031

    #5F0031

    oklch(31.5% 0.128 358.3)

Open the analogous palette in the generator

Split complementary

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

  • #520C52

    #520C52

    oklch(31.6% 0.13 328.1)

  • #2F3600

    #2F3600

    oklch(31.5% 0.073 117.4)

  • #003B32

    #003B32

    oklch(31.5% 0.058 178.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520C52

    #520C52

    oklch(31.6% 0.13 328.1)

  • #3F2F00

    #3F2F00

    oklch(31.5% 0.064 88.1)

  • #003940

    #003940

    oklch(31.5% 0.054 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520C52

    #520C52

    oklch(31.6% 0.13 328.1)

  • #4D2600

    #4D2600

    oklch(31.5% 0.075 58.2)

  • #003E14

    #003E14

    oklch(31.7% 0.092 148.1)

  • #003651

    #003651

    oklch(31.6% 0.07 238.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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