#5D2A6A

Closest named color: Grape Purple (#5D1451). oklch(38.3% 0.117 319.1), rgb(93, 42, 106).

Aa

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

About this color

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

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

Values

HEX#5D2A6A
RGBrgb(93, 42, 106)
HSLhsl(288, 43%, 29%)
OKLCHoklch(38.3% 0.117 319.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 #5D2A6A 10.47:1 AAA Lc -97.9 Preferred for body text
Black text on #5D2A6A 2.00:1 Fails Lc 10.1 Not readable
#5D2A6A text on white 10.47:1 AAA Lc 93.9 Preferred for body text
#5D2A6A text on black 2.00:1 Fails Lc -8.7 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEE

    oklch(88.5% 0.05 319.7)

  4. Step 300

    300

    #DAAFE5

    oklch(81% 0.088 319.3)

  5. Step 400

    400

    #C682D8

    oklch(70.7% 0.141 319)

  6. Step 500

    500

    #B65FCD

    oklch(63% 0.18 318.9)

  7. Step 600

    600

    #A241BA

    oklch(55.6% 0.196 319.1)

  8. Step 700

    700

    #8A32A0

    oklch(49.1% 0.181 318.9)

  9. Step 800

    800

    #702B82

    oklch(42.7% 0.15 318.7)

  10. Step 900

    900 (this color)

    #5D2A6A

    oklch(38.3% 0.117 319.1)

  11. Step 950

    950

    #35183D

    oklch(26.9% 0.075 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#5D2A6A 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)#1C3C6C0.110
Deuteranopia (no green cones)#2E41680.097
Tritanopia (no blue cones)#5D34450.075
Achromatopsia (no color)#3F3F3F0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D2A6A

    #5D2A6A

    oklch(38.3% 0.117 319.1)

  • #1B5104

    #1B5104

    oklch(38.4% 0.117 139)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D2A6A

    #5D2A6A

    oklch(38.3% 0.117 319.1)

  • #43357D

    #43357D

    oklch(38.4% 0.117 288.6)

  • #6E224D

    #6E224D

    oklch(38.4% 0.118 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #5D2A6A

    #5D2A6A

    oklch(38.3% 0.117 319.1)

  • #474600

    #474600

    oklch(38.3% 0.083 108.8)

  • #00503C

    #00503C

    oklch(38.3% 0.077 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D2A6A

    #5D2A6A

    oklch(38.3% 0.117 319.1)

  • #5A3D00

    #5A3D00

    oklch(38.3% 0.08 78.5)

  • #004E50

    #004E50

    oklch(38.5% 0.065 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D2A6A

    #5D2A6A

    oklch(38.3% 0.117 319.1)

  • #6D2E00

    #6D2E00

    oklch(38.3% 0.103 48.7)

  • #1B5104

    #1B5104

    oklch(38.4% 0.117 139)

  • #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 #5D2A6A, closest first.

Similar named colors

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

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