#52204A

Closest named color: Grape Purple (#5D1451). oklch(33.4% 0.095 334.1), rgb(82, 32, 74).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.66:1
White text12.61:1

Values

HEX#52204A
RGBrgb(82, 32, 74)
HSLhsl(310, 44%, 22%)
OKLCHoklch(33.4% 0.095 334.1)

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 #52204A 12.61:1 AAA Lc -101.6 Preferred for body text
Black text on #52204A 1.66:1 Fails Lc 0.0 Not readable
#52204A text on white 12.61:1 AAA Lc 98.2 Preferred for body text
#52204A text on black 1.66: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EAD0E4

    oklch(88.5% 0.039 333.8)

  4. Step 300

    300

    #DEB0D4

    oklch(80.9% 0.071 334)

  5. Step 400

    400

    #CC85BE

    oklch(70.8% 0.114 334.1)

  6. Step 500

    500

    #BD64AD

    oklch(63.1% 0.146 334.3)

  7. Step 600

    600

    #A84999

    oklch(55.6% 0.158 334)

  8. Step 700

    700

    #903A82

    oklch(49.2% 0.146 334.4)

  9. Step 800

    800

    #75316A

    oklch(42.8% 0.121 334.1)

  10. Step 900

    900 (this color)

    #52204A

    oklch(33.4% 0.095 334.1)

  11. Step 950

    950

    #381A32

    oklch(27% 0.06 335)

Export this scale for Tailwind in the Tailwind colors tool

#52204A 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)#1F2E4B0.098
Deuteranopia (no green cones)#2E36490.087
Tritanopia (no blue cones)#5623310.049
Achromatopsia (no color)#3333330.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #52204A

    #52204A

    oklch(33.4% 0.095 334.1)

  • #004221

    #004221

    oklch(33.3% 0.084 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52204A

    #52204A

    oklch(33.4% 0.095 334.1)

  • #41275D

    #41275D

    oklch(33.3% 0.095 303.9)

  • #5C1C31

    #5C1C31

    oklch(33.4% 0.095 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #52204A

    #52204A

    oklch(33.4% 0.095 334.1)

  • #2D3D00

    #2D3D00

    oklch(33.4% 0.083 124.5)

  • #00403A

    #00403A

    oklch(33.4% 0.059 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52204A

    #52204A

    oklch(33.4% 0.095 334.1)

  • #423500

    #423500

    oklch(33.3% 0.068 93.7)

  • #003E49

    #003E49

    oklch(33.5% 0.059 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52204A

    #52204A

    oklch(33.4% 0.095 334.1)

  • #512C00

    #512C00

    oklch(33.4% 0.076 63.2)

  • #004221

    #004221

    oklch(33.3% 0.084 154.1)

  • #00395D

    #00395D

    oklch(33.2% 0.083 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 #52204A, closest first.

Similar named colors

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

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