#5A2E64

Closest named color: Grape Purple (#5D1451). oklch(38.2% 0.102 320), rgb(90, 46, 100).

Aa

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

About this color

#5A2E64 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.102 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.057 away. White text reads best on it, at 10.45:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text2.00:1
White text10.45:1

Values

HEX#5A2E64
RGBrgb(90, 46, 100)
HSLhsl(289, 37%, 29%)
OKLCHoklch(38.2% 0.102 320)

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 #5A2E64 10.45:1 AAA Lc -98.0 Preferred for body text
Black text on #5A2E64 2.00:1 Fails Lc 10.0 Not readable
#5A2E64 text on white 10.45:1 AAA Lc 93.9 Preferred for body text
#5A2E64 text on black 2.00:1 Fails Lc -8.6 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E6D1EB

    oklch(88.6% 0.042 319.7)

  4. Step 300

    300

    #D7B1E0

    oklch(80.9% 0.077 319.8)

  5. Step 400

    400

    #C287D0

    oklch(70.7% 0.122 319.8)

  6. Step 500

    500

    #B266C3

    oklch(63.1% 0.156 320.1)

  7. Step 600

    600

    #9D4BB0

    oklch(55.6% 0.17 319.8)

  8. Step 700

    700

    #863B97

    oklch(49% 0.158 319.9)

  9. Step 800

    800

    #6D327A

    oklch(42.7% 0.13 320.1)

  10. Step 900

    900 (this color)

    #5A2E64

    oklch(38.2% 0.102 320)

  11. Step 950

    950

    #341B3A

    oklch(27.1% 0.064 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#5A2E64 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)#253C660.093
Deuteranopia (no green cones)#3241620.083
Tritanopia (no blue cones)#5B35440.064
Achromatopsia (no color)#3F3F3F0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A2E64

    #5A2E64

    oklch(38.2% 0.102 320)

  • #214F15

    #214F15

    oklch(38.1% 0.101 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A2E64

    #5A2E64

    oklch(38.2% 0.102 320)

  • #433775

    #433775

    oklch(38.2% 0.102 289.6)

  • #69284A

    #69284A

    oklch(38.2% 0.102 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A2E64

    #5A2E64

    oklch(38.2% 0.102 320)

  • #464600

    #464600

    oklch(38.2% 0.083 109.8)

  • #004F3D

    #004F3D

    oklch(38.1% 0.075 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A2E64

    #5A2E64

    oklch(38.2% 0.102 320)

  • #593D00

    #593D00

    oklch(38.2% 0.079 79.4)

  • #004D50

    #004D50

    oklch(38.2% 0.065 199.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A2E64

    #5A2E64

    oklch(38.2% 0.102 320)

  • #6C2F00

    #6C2F00

    oklch(38.3% 0.101 50)

  • #214F15

    #214F15

    oklch(38.1% 0.101 139.8)

  • #004A63

    #004A63

    oklch(38.3% 0.076 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A2E64 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.