#5A3368

Closest named color: Dark Slate Blue (#483D8B). oklch(39.3% 0.097 316.6), rgb(90, 51, 104).

Aa

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

About this color

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

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

Values

HEX#5A3368
RGBrgb(90, 51, 104)
HSLhsl(284, 34%, 30%)
OKLCHoklch(39.3% 0.097 316.6)

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 #5A3368 9.96:1 AAA Lc -97.0 Preferred for body text
Black text on #5A3368 2.10:1 Fails Lc 11.1 Not readable
#5A3368 text on white 9.96:1 AAA Lc 92.9 Preferred for body text
#5A3368 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1EB

    oklch(88.4% 0.041 317)

  4. Step 300

    300

    #D4B3E0

    oklch(81% 0.072 317)

  5. Step 400

    400

    #BE89D1

    oklch(70.7% 0.117 316.9)

  6. Step 500

    500

    #AD6AC5

    oklch(63.2% 0.149 316.7)

  7. Step 600

    600

    #984FB1

    oklch(55.6% 0.162 316.8)

  8. Step 700

    700

    #813F98

    oklch(49% 0.15 316.5)

  9. Step 800

    800

    #69357C

    oklch(42.7% 0.125 316.2)

  10. Step 900

    900 (this color)

    #5A3368

    oklch(39.3% 0.097 316.6)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#5A3368 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)#29406A0.085
Deuteranopia (no green cones)#3444670.076
Tritanopia (no blue cones)#5A3B480.065
Achromatopsia (no color)#4343430.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A3368

    #5A3368

    oklch(39.3% 0.097 316.6)

  • #2B5117

    #2B5117

    oklch(39.3% 0.097 136.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A3368

    #5A3368

    oklch(39.3% 0.097 316.6)

  • #433C77

    #433C77

    oklch(39.4% 0.097 286.5)

  • #692D50

    #692D50

    oklch(39.2% 0.097 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A3368

    #5A3368

    oklch(39.3% 0.097 316.6)

  • #4C4800

    #4C4800

    oklch(39.3% 0.084 106)

  • #00533C

    #00533C

    oklch(39.2% 0.081 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A3368

    #5A3368

    oklch(39.3% 0.097 316.6)

  • #5E3F00

    #5E3F00

    oklch(39.3% 0.082 77.3)

  • #005052

    #005052

    oklch(39.1% 0.067 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A3368

    #5A3368

    oklch(39.3% 0.097 316.6)

  • #6E320F

    #6E320F

    oklch(39.2% 0.097 46.9)

  • #2B5117

    #2B5117

    oklch(39.3% 0.097 136.6)

  • #004D65

    #004D65

    oklch(39.2% 0.076 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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