#520C44

Closest named color: Deep Violet (#490648). oklch(30.7% 0.119 337.8), rgb(82, 12, 68).

Aa

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

About this color

#520C44 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.119 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.027 away. White text reads best on it, at 14.04:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.49:1
White text14.04:1

Values

HEX#520C44
RGBrgb(82, 12, 68)
HSLhsl(312, 74%, 18%)
OKLCHoklch(30.7% 0.119 337.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 #520C44 14.04:1 AAA Lc -102.9 Preferred for body text
Black text on #520C44 1.49:1 Fails Lc 0.0 Not readable
#520C44 text on white 14.04:1 AAA Lc 99.8 Preferred for body text
#520C44 text on black 1.49: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

    #FFF1FA

    oklch(97.2% 0.019 338.7)

  2. Step 100

    100

    #FDE0F4

    oklch(93.6% 0.041 337.1)

  3. Step 200

    200

    #FCC6EB

    oklch(88.5% 0.077 338.1)

  4. Step 300

    300

    #FB9CE0

    oklch(81% 0.14 338.1)

  5. Step 400

    400

    #F35AD1

    oklch(70.6% 0.226 337.6)

  6. Step 500

    500

    #E700C2

    oklch(63.1% 0.277 337.7)

  7. Step 600

    600

    #C300A4

    oklch(55.6% 0.244 337.6)

  8. Step 700

    700

    #A5008A

    oklch(49.1% 0.215 337.7)

  9. Step 800

    800

    #890072

    oklch(42.8% 0.188 337.8)

  10. Step 900

    900

    #73005F

    oklch(37.7% 0.165 338)

  11. Step 950

    950 (this color)

    #520C44

    oklch(30.7% 0.119 337.8)

Export this scale for Tailwind in the Tailwind colors tool

#520C44 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)#0F25450.132
Deuteranopia (no green cones)#282F420.111
Tritanopia (no blue cones)#5710270.057
Achromatopsia (no color)#2C2C2C0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #520C44

    #520C44

    oklch(30.7% 0.119 337.8)

  • #003A21

    #003A21

    oklch(30.7% 0.072 158)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520C44

    #520C44

    oklch(30.7% 0.119 337.8)

  • #40175D

    #40175D

    oklch(30.7% 0.12 307.5)

  • #5C0324

    #5C0324

    oklch(30.7% 0.119 7.8)

Open the analogous palette in the generator

Split complementary

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

  • #520C44

    #520C44

    oklch(30.7% 0.119 337.8)

  • #243700

    #243700

    oklch(30.9% 0.081 127.9)

  • #003834

    #003834

    oklch(30.7% 0.054 187.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520C44

    #520C44

    oklch(30.7% 0.119 337.8)

  • #382F00

    #382F00

    oklch(30.6% 0.063 97.6)

  • #003642

    #003642

    oklch(30.7% 0.055 217.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520C44

    #520C44

    oklch(30.7% 0.119 337.8)

  • #462800

    #462800

    oklch(30.8% 0.068 67.6)

  • #003A21

    #003A21

    oklch(30.7% 0.072 158)

  • #003157

    #003157

    oklch(30.6% 0.084 248.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #520C44.

Similar named colors

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

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