#5A3C8A

Closest named color: Dark Slate Blue (#483D8B). oklch(43% 0.126 298.8), rgb(90, 60, 138).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.44:1
White text8.57:1

Values

HEX#5A3C8A
RGBrgb(90, 60, 138)
HSLhsl(263, 39%, 39%)
OKLCHoklch(43% 0.126 298.8)

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 #5A3C8A 8.57:1 AAA Lc -93.8 Preferred for body text
Black text on #5A3C8A 2.44:1 Fails Lc 14.8 Not readable
#5A3C8A text on white 8.57:1 AAA Lc 89.2 Fine for body text
#5A3C8A text on black 2.44:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DCD4F1

    oklch(88.5% 0.04 298.2)

  4. Step 300

    300

    #C6B7EA

    oklch(80.9% 0.073 298.2)

  5. Step 400

    400

    #AA90E0

    oklch(70.7% 0.117 298.3)

  6. Step 500

    500

    #9672D7

    oklch(63.1% 0.15 298.4)

  7. Step 600

    600

    #8258C4

    oklch(55.6% 0.163 299)

  8. Step 700

    700

    #6E47A9

    oklch(49.1% 0.152 299.1)

  9. Step 800

    800 (this color)

    #5A3C8A

    oklch(43% 0.126 298.8)

  10. Step 900

    900

    #49346E

    oklch(37.8% 0.097 298.3)

  11. Step 950

    950

    #2B1F40

    oklch(27.1% 0.061 299.1)

Export this scale for Tailwind in the Tailwind colors tool

#5A3C8A 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)#1B4C8D0.088
Deuteranopia (no green cones)#254B880.081
Tritanopia (no blue cones)#504C5D0.097
Achromatopsia (no color)#4C4C4C0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A3C8A

    #5A3C8A

    oklch(43% 0.126 298.8)

  • #4A5700

    #4A5700

    oklch(43% 0.101 119.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A3C8A

    #5A3C8A

    oklch(43% 0.126 298.8)

  • #344994

    #344994

    oklch(43% 0.126 268.9)

  • #733171

    #733171

    oklch(42.9% 0.126 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A3C8A

    #5A3C8A

    oklch(43% 0.126 298.8)

  • #634C00

    #634C00

    oklch(42.9% 0.088 88.6)

  • #006126

    #006126

    oklch(43% 0.122 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A3C8A

    #5A3C8A

    oklch(43% 0.126 298.8)

  • #783F00

    #783F00

    oklch(43% 0.102 58.6)

  • #005D50

    #005D50

    oklch(42.8% 0.078 178.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A3C8A

    #5A3C8A

    oklch(43% 0.126 298.8)

  • #872D24

    #872D24

    oklch(43% 0.125 29)

  • #4A5700

    #4A5700

    oklch(43% 0.101 119.2)

  • #005B65

    #005B65

    oklch(43.1% 0.074 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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