#52224A

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.091 334.2), rgb(82, 34, 74).

Aa

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

About this color

#52224A is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.091 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.036 away. White text reads best on it, at 12.45:1.

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

Values

HEX#52224A
RGBrgb(82, 34, 74)
HSLhsl(310, 41%, 23%)
OKLCHoklch(33.7% 0.091 334.2)

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 #52224A 12.45:1 AAA Lc -101.4 Preferred for body text
Black text on #52224A 1.68:1 Fails Lc 0.0 Not readable
#52224A text on white 12.45:1 AAA Lc 97.9 Preferred for body text
#52224A text on black 1.68: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

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #EAD0E4

    oklch(88.5% 0.039 333.8)

  4. Step 300

    300

    #DDB1D3

    oklch(81% 0.068 334.3)

  5. Step 400

    400

    #CA86BC

    oklch(70.6% 0.109 334.4)

  6. Step 500

    500

    #BB66AC

    oklch(63.1% 0.14 334)

  7. Step 600

    600

    #A64B97

    oklch(55.5% 0.152 334.1)

  8. Step 700

    700

    #8E3C81

    oklch(49.1% 0.141 334)

  9. Step 800

    800

    #743269

    oklch(42.8% 0.118 334.2)

  10. Step 900

    900 (this color)

    #52224A

    oklch(33.7% 0.091 334.2)

  11. Step 950

    950

    #371B32

    oklch(27.1% 0.057 334)

Export this scale for Tailwind in the Tailwind colors tool

#52224A 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)#22304B0.093
Deuteranopia (no green cones)#3037490.083
Tritanopia (no blue cones)#5625320.047
Achromatopsia (no color)#3434340.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #52224A

    #52224A

    oklch(33.7% 0.091 334.2)

  • #004322

    #004322

    oklch(33.6% 0.084 154.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52224A

    #52224A

    oklch(33.7% 0.091 334.2)

  • #42295C

    #42295C

    oklch(33.7% 0.09 304.7)

  • #5B1F31

    #5B1F31

    oklch(33.6% 0.09 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #52224A

    #52224A

    oklch(33.7% 0.091 334.2)

  • #2E3E00

    #2E3E00

    oklch(33.7% 0.084 124.3)

  • #00413B

    #00413B

    oklch(33.7% 0.06 184.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52224A

    #52224A

    oklch(33.7% 0.091 334.2)

  • #433600

    #433600

    oklch(33.7% 0.069 93.9)

  • #003F4A

    #003F4A

    oklch(33.8% 0.059 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52224A

    #52224A

    oklch(33.7% 0.091 334.2)

  • #522D00

    #522D00

    oklch(33.7% 0.076 63.7)

  • #004322

    #004322

    oklch(33.6% 0.084 154.3)

  • #003A5F

    #003A5F

    oklch(33.6% 0.084 244.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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