#520E54

Closest named color: Plum Purple (#4E0550). oklch(31.9% 0.13 326.8), rgb(82, 14, 84).

Aa

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

About this color

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

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

Values

HEX#520E54
RGBrgb(82, 14, 84)
HSLhsl(298, 71%, 19%)
OKLCHoklch(31.9% 0.13 326.8)

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 #520E54 13.55:1 AAA Lc -102.4 Preferred for body text
Black text on #520E54 1.54:1 Fails Lc 0.0 Not readable
#520E54 text on white 13.55:1 AAA Lc 99.1 Preferred for body text
#520E54 text on black 1.54: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

    #FDF1FD

    oklch(97.1% 0.02 325.7)

  2. Step 100

    100

    #FBE0FA

    oklch(93.6% 0.045 327.1)

  3. Step 200

    200

    #F8C6F7

    oklch(88.5% 0.085 326.9)

  4. Step 300

    300

    #F49BF4

    oklch(80.8% 0.154 326.9)

  5. Step 400

    400

    #EB58EF

    oklch(70.8% 0.246 326.7)

  6. Step 500

    500

    #DC00E2

    oklch(63.1% 0.292 326.9)

  7. Step 600

    600

    #BA00BF

    oklch(55.7% 0.258 326.9)

  8. Step 700

    700

    #9D00A1

    oklch(49.1% 0.227 327)

  9. Step 800

    800

    #810085

    oklch(42.6% 0.197 326.8)

  10. Step 900

    900

    #6D0070

    oklch(37.7% 0.175 327)

  11. Step 950

    950 (this color)

    #520E54

    oklch(31.9% 0.13 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#520E54 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)#0029560.139
Deuteranopia (no green cones)#2031520.117
Tritanopia (no blue cones)#551A310.073
Achromatopsia (no color)#2E2E2E0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #520E54

    #520E54

    oklch(31.9% 0.13 326.8)

  • #003F11

    #003F11

    oklch(32% 0.096 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520E54

    #520E54

    oklch(31.9% 0.13 326.8)

  • #3C1B6B

    #3C1B6B

    oklch(31.9% 0.131 297.2)

  • #600034

    #600034

    oklch(31.9% 0.13 356.5)

Open the analogous palette in the generator

Split complementary

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

  • #520E54

    #520E54

    oklch(31.9% 0.13 326.8)

  • #303700

    #303700

    oklch(31.9% 0.074 117.3)

  • #003C32

    #003C32

    oklch(31.9% 0.059 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520E54

    #520E54

    oklch(31.9% 0.13 326.8)

  • #413000

    #413000

    oklch(32% 0.065 87.1)

  • #003A41

    #003A41

    oklch(31.9% 0.055 208)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520E54

    #520E54

    oklch(31.9% 0.13 326.8)

  • #4F2600

    #4F2600

    oklch(31.9% 0.077 56.7)

  • #003F11

    #003F11

    oklch(32% 0.096 146.8)

  • #003751

    #003751

    oklch(31.9% 0.069 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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