#520C48

Closest named color: Plum Purple (#4E0550). oklch(31% 0.122 334.9), rgb(82, 12, 72).

Aa

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

About this color

#520C48 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.122 and its hue 335°. 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.95:1.

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

Values

HEX#520C48
RGBrgb(82, 12, 72)
HSLhsl(309, 74%, 18%)
OKLCHoklch(31% 0.122 334.9)

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 #520C48 13.95:1 AAA Lc -102.8 Preferred for body text
Black text on #520C48 1.50:1 Fails Lc 0.0 Not readable
#520C48 text on white 13.95:1 AAA Lc 99.6 Preferred for body text
#520C48 text on black 1.50: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

    #FDE0F5

    oklch(93.6% 0.042 335.7)

  3. Step 200

    200

    #FBC6EF

    oklch(88.5% 0.08 334.3)

  4. Step 300

    300

    #F99BE6

    oklch(80.8% 0.145 334.6)

  5. Step 400

    400

    #F259D9

    oklch(70.7% 0.232 334.8)

  6. Step 500

    500

    #E400CA

    oklch(63% 0.28 334.9)

  7. Step 600

    600

    #C100AB

    oklch(55.6% 0.248 334.8)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #710064

    oklch(37.7% 0.168 334.6)

  11. Step 950

    950 (this color)

    #520C48

    oklch(31% 0.122 334.9)

Export this scale for Tailwind in the Tailwind colors tool

#520C48 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)#0B264A0.135
Deuteranopia (no green cones)#2630460.114
Tritanopia (no blue cones)#5613290.062
Achromatopsia (no color)#2C2C2C0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #520C48

    #520C48

    oklch(31% 0.122 334.9)

  • #003B1E

    #003B1E

    oklch(30.9% 0.077 154.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520C48

    #520C48

    oklch(31% 0.122 334.9)

  • #3F1860

    #3F1860

    oklch(30.9% 0.122 305)

  • #5D0228

    #5D0228

    oklch(30.9% 0.122 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #520C48

    #520C48

    oklch(31% 0.122 334.9)

  • #273600

    #273600

    oklch(30.8% 0.077 124.9)

  • #003934

    #003934

    oklch(31% 0.055 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520C48

    #520C48

    oklch(31% 0.122 334.9)

  • #3A2F00

    #3A2F00

    oklch(30.8% 0.063 94.9)

  • #003741

    #003741

    oklch(31% 0.054 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520C48

    #520C48

    oklch(31% 0.122 334.9)

  • #482700

    #482700

    oklch(30.9% 0.07 64)

  • #003B1E

    #003B1E

    oklch(30.9% 0.077 154.9)

  • #003354

    #003354

    oklch(31% 0.077 244.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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