#520B51

Closest named color: Plum Purple (#4E0550). oklch(31.5% 0.13 328.8), rgb(82, 11, 81).

Aa

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

About this color

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

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

Values

HEX#520B51
RGBrgb(82, 11, 81)
HSLhsl(301, 76%, 18%)
OKLCHoklch(31.5% 0.13 328.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 #520B51 13.76:1 AAA Lc -102.6 Preferred for body text
Black text on #520B51 1.52:1 Fails Lc 0.0 Not readable
#520B51 text on white 13.76:1 AAA Lc 99.3 Preferred for body text
#520B51 text on black 1.52: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

    #FEF1FC

    oklch(97.1% 0.02 330.6)

  2. Step 100

    100

    #FBE0F9

    oklch(93.6% 0.044 328.2)

  3. Step 200

    200

    #F9C5F5

    oklch(88.4% 0.086 328.8)

  4. Step 300

    300

    #F69AF2

    oklch(80.8% 0.155 328.4)

  5. Step 400

    400

    #EE56EA

    oklch(70.7% 0.246 328.9)

  6. Step 500

    500

    #DE00DC

    oklch(63.1% 0.289 328.9)

  7. Step 600

    600

    #BC00BA

    oklch(55.7% 0.255 328.9)

  8. Step 700

    700

    #9F009D

    oklch(49.2% 0.225 329)

  9. Step 800

    800

    #830082

    oklch(42.7% 0.196 328.8)

  10. Step 900

    900

    #6E006D

    oklch(37.7% 0.173 328.8)

  11. Step 950

    950 (this color)

    #520B51

    oklch(31.5% 0.13 328.8)

Export this scale for Tailwind in the Tailwind colors tool

#520B51 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)#0027530.142
Deuteranopia (no green cones)#21304F0.118
Tritanopia (no blue cones)#55172E0.072
Achromatopsia (no color)#2D2D2D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #520B51

    #520B51

    oklch(31.5% 0.13 328.8)

  • #003D15

    #003D15

    oklch(31.4% 0.089 148.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520B51

    #520B51

    oklch(31.5% 0.13 328.8)

  • #3C1969

    #3C1969

    oklch(31.5% 0.131 298.5)

  • #5F0030

    #5F0030

    oklch(31.5% 0.128 359)

Open the analogous palette in the generator

Split complementary

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

  • #520B51

    #520B51

    oklch(31.5% 0.13 328.8)

  • #2E3600

    #2E3600

    oklch(31.4% 0.073 118.5)

  • #003B32

    #003B32

    oklch(31.5% 0.058 178.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520B51

    #520B51

    oklch(31.5% 0.13 328.8)

  • #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.

  • #520B51

    #520B51

    oklch(31.5% 0.13 328.8)

  • #4C2600

    #4C2600

    oklch(31.4% 0.074 59)

  • #003D15

    #003D15

    oklch(31.4% 0.089 148.8)

  • #003551

    #003551

    oklch(31.3% 0.071 239.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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