#520F4D

Closest named color: Plum Purple (#4E0550). oklch(31.5% 0.123 331.4), rgb(82, 15, 77).

Aa

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

About this color

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

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

Values

HEX#520F4D
RGBrgb(82, 15, 77)
HSLhsl(304, 69%, 19%)
OKLCHoklch(31.5% 0.123 331.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 #520F4D 13.68:1 AAA Lc -102.6 Preferred for body text
Black text on #520F4D 1.53:1 Fails Lc 0.0 Not readable
#520F4D text on white 13.68:1 AAA Lc 99.3 Preferred for body text
#520F4D 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

    #FEF1FB

    oklch(97.1% 0.019 333.5)

  2. Step 100

    100

    #FBE0F7

    oklch(93.5% 0.042 330.7)

  3. Step 200

    200

    #F9C6F2

    oklch(88.5% 0.081 330.9)

  4. Step 300

    300

    #F69CEB

    oklch(80.8% 0.145 331.3)

  5. Step 400

    400

    #EE5BE1

    oklch(70.8% 0.233 331.4)

  6. Step 500

    500

    #E100D5

    oklch(63.1% 0.286 331.3)

  7. Step 600

    600

    #BE00B3

    oklch(55.6% 0.251 331.5)

  8. Step 700

    700

    #A10098

    oklch(49.2% 0.223 331.4)

  9. Step 800

    800

    #85007D

    oklch(42.8% 0.193 331.6)

  10. Step 900

    900

    #6F0069

    oklch(37.6% 0.17 331.2)

  11. Step 950

    950 (this color)

    #520F4D

    oklch(31.5% 0.123 331.4)

Export this scale for Tailwind in the Tailwind colors tool

#520F4D 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)#09284F0.133
Deuteranopia (no green cones)#25314B0.113
Tritanopia (no blue cones)#56172D0.065
Achromatopsia (no color)#2D2D2D0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #520F4D

    #520F4D

    oklch(31.5% 0.123 331.4)

  • #003D1A

    #003D1A

    oklch(31.5% 0.084 151.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520F4D

    #520F4D

    oklch(31.5% 0.123 331.4)

  • #3E1B64

    #3E1B64

    oklch(31.5% 0.122 301.7)

  • #5E042D

    #5E042D

    oklch(31.4% 0.123 1.6)

Open the analogous palette in the generator

Split complementary

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

  • #520F4D

    #520F4D

    oklch(31.5% 0.123 331.4)

  • #2C3700

    #2C3700

    oklch(31.5% 0.076 121.2)

  • #003B33

    #003B33

    oklch(31.6% 0.057 180.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520F4D

    #520F4D

    oklch(31.5% 0.123 331.4)

  • #3E3000

    #3E3000

    oklch(31.6% 0.065 91.1)

  • #003941

    #003941

    oklch(31.6% 0.055 210)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520F4D

    #520F4D

    oklch(31.5% 0.123 331.4)

  • #4B2700

    #4B2700

    oklch(31.4% 0.073 61.2)

  • #003D1A

    #003D1A

    oklch(31.5% 0.084 151.4)

  • #003553

    #003553

    oklch(31.5% 0.074 241.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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