#52204F

Closest named color: Grape Purple (#5D1451). oklch(33.6% 0.099 329.9), rgb(82, 32, 79).

Aa

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

About this color

#52204F is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.099 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.030 away. White text reads best on it, at 12.51:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.67:1
White text12.51:1

Values

HEX#52204F
RGBrgb(82, 32, 79)
HSLhsl(304, 44%, 22%)
OKLCHoklch(33.6% 0.099 329.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 #52204F 12.51:1 AAA Lc -101.4 Preferred for body text
Black text on #52204F 1.67:1 Fails Lc 0.0 Not readable
#52204F text on white 12.51:1 AAA Lc 98.0 Preferred for body text
#52204F text on black 1.67: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 900.

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F1

    oklch(93.6% 0.022 330.3)

  3. Step 200

    200

    #EAD0E6

    oklch(88.6% 0.041 331)

  4. Step 300

    300

    #DDB0D8

    oklch(81% 0.074 330)

  5. Step 400

    400

    #CA84C4

    oklch(70.6% 0.12 329.8)

  6. Step 500

    500

    #BB63B5

    oklch(63% 0.153 329.8)

  7. Step 600

    600

    #A648A1

    oklch(55.6% 0.165 329.6)

  8. Step 700

    700

    #8E3889

    oklch(49% 0.154 330)

  9. Step 800

    800

    #742F70

    oklch(42.7% 0.129 329.8)

  10. Step 900

    900 (this color)

    #52204F

    oklch(33.6% 0.099 329.9)

  11. Step 950

    950

    #371A35

    oklch(27% 0.063 329.7)

Export this scale for Tailwind in the Tailwind colors tool

#52204F 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)#1D2F500.101
Deuteranopia (no green cones)#2C364E0.089
Tritanopia (no blue cones)#5525340.054
Achromatopsia (no color)#3434340.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #52204F

    #52204F

    oklch(33.6% 0.099 329.9)

  • #00441A

    #00441A

    oklch(33.8% 0.094 149.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52204F

    #52204F

    oklch(33.6% 0.099 329.9)

  • #402862

    #402862

    oklch(33.7% 0.1 300.2)

  • #5D1B35

    #5D1B35

    oklch(33.6% 0.099 359.7)

Open the analogous palette in the generator

Split complementary

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

  • #52204F

    #52204F

    oklch(33.6% 0.099 329.9)

  • #323C00

    #323C00

    oklch(33.5% 0.079 119.6)

  • #004138

    #004138

    oklch(33.6% 0.061 179.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52204F

    #52204F

    oklch(33.6% 0.099 329.9)

  • #453500

    #453500

    oklch(33.7% 0.069 90)

  • #003F47

    #003F47

    oklch(33.7% 0.058 208.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52204F

    #52204F

    oklch(33.6% 0.099 329.9)

  • #542B00

    #542B00

    oklch(33.6% 0.079 59.4)

  • #00441A

    #00441A

    oklch(33.8% 0.094 149.6)

  • #003B5A

    #003B5A

    oklch(33.6% 0.077 239.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52204F 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.