#5A326B

Closest named color: Dark Slate Blue (#483D8B). oklch(39.3% 0.103 315), rgb(90, 50, 107).

Aa

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

About this color

#5A326B is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.103 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.064 away. White text reads best on it, at 9.98:1.

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.10:1
White text9.98:1

Values

HEX#5A326B
RGBrgb(90, 50, 107)
HSLhsl(282, 36%, 31%)
OKLCHoklch(39.3% 0.103 315)

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 #5A326B 9.98:1 AAA Lc -97.1 Preferred for body text
Black text on #5A326B 2.10:1 Fails Lc 11.0 Not readable
#5A326B text on white 9.98:1 AAA Lc 92.9 Preferred for body text
#5A326B text on black 2.10:1 Fails Lc -9.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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1ED

    oklch(88.5% 0.043 315)

  4. Step 300

    300

    #D4B2E3

    oklch(80.9% 0.077 315.4)

  5. Step 400

    400

    #BD88D5

    oklch(70.6% 0.123 314.9)

  6. Step 500

    500

    #AD68CA

    oklch(63.1% 0.158 315.1)

  7. Step 600

    600

    #984DB7

    oklch(55.7% 0.171 314.9)

  8. Step 700

    700

    #813D9D

    oklch(49% 0.159 314.8)

  9. Step 800

    800

    #69337F

    oklch(42.6% 0.132 315.1)

  10. Step 900

    900 (this color)

    #5A326B

    oklch(39.3% 0.103 315)

  11. Step 950

    950

    #321B3C

    oklch(26.9% 0.066 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A326B 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)#26406D0.089
Deuteranopia (no green cones)#3244690.080
Tritanopia (no blue cones)#593B490.070
Achromatopsia (no color)#4242420.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A326B

    #5A326B

    oklch(39.3% 0.103 315)

  • #2B510F

    #2B510F

    oklch(39.2% 0.103 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A326B

    #5A326B

    oklch(39.3% 0.103 315)

  • #413B7A

    #413B7A

    oklch(39.2% 0.104 284.9)

  • #6A2B52

    #6A2B52

    oklch(39.1% 0.103 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A326B

    #5A326B

    oklch(39.3% 0.103 315)

  • #4D4800

    #4D4800

    oklch(39.4% 0.084 105.1)

  • #00533A

    #00533A

    oklch(39.2% 0.083 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A326B

    #5A326B

    oklch(39.3% 0.103 315)

  • #5F3E00

    #5F3E00

    oklch(39.2% 0.083 75.1)

  • #005151

    #005151

    oklch(39.4% 0.067 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A326B

    #5A326B

    oklch(39.3% 0.103 315)

  • #71300C

    #71300C

    oklch(39.4% 0.103 45.2)

  • #2B510F

    #2B510F

    oklch(39.2% 0.103 135.1)

  • #004E64

    #004E64

    oklch(39.4% 0.075 224.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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