#5E3370

Closest named color: Dark Slate Blue (#483D8B). oklch(40.3% 0.109 315.1), rgb(94, 51, 112).

Aa

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

About this color

#5E3370 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.109 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.062 away. White text reads best on it, at 9.61:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.18:1
White text9.61:1

Values

HEX#5E3370
RGBrgb(94, 51, 112)
HSLhsl(282, 37%, 32%)
OKLCHoklch(40.3% 0.109 315.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 #5E3370 9.61:1 AAA Lc -96.2 Preferred for body text
Black text on #5E3370 2.18:1 Fails Lc 12.0 Not readable
#5E3370 text on white 9.61:1 AAA Lc 92.0 Preferred for body text
#5E3370 text on black 2.18:1 Fails Lc -10.4 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E2D3EA

    oklch(88.6% 0.035 314.1)

  4. Step 300

    300

    #D0B5DD

    oklch(80.9% 0.063 314.8)

  5. Step 400

    400

    #B98DCC

    oklch(70.7% 0.102 315.4)

  6. Step 500

    500

    #A76FBF

    oklch(63.1% 0.131 315.2)

  7. Step 600

    600

    #9256AB

    oklch(55.6% 0.141 315.2)

  8. Step 700

    700

    #7C4693

    oklch(49.1% 0.131 314.9)

  9. Step 800

    800 (this color)

    #5E3370

    oklch(40.3% 0.109 315.1)

  10. Step 900

    900

    #523260

    oklch(37.6% 0.085 314.9)

  11. Step 950

    950

    #301E38

    oklch(27% 0.053 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#5E3370 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)#2542720.096
Deuteranopia (no green cones)#33466E0.085
Tritanopia (no blue cones)#5D3D4C0.074
Achromatopsia (no color)#4545450.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E3370

    #5E3370

    oklch(40.3% 0.109 315.1)

  • #2C540C

    #2C540C

    oklch(40.1% 0.108 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E3370

    #5E3370

    oklch(40.3% 0.109 315.1)

  • #443D80

    #443D80

    oklch(40.3% 0.109 285.1)

  • #6F2C56

    #6F2C56

    oklch(40.2% 0.108 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #5E3370

    #5E3370

    oklch(40.3% 0.109 315.1)

  • #4F4A00

    #4F4A00

    oklch(40.1% 0.085 105.2)

  • #00563D

    #00563D

    oklch(40.2% 0.084 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E3370

    #5E3370

    oklch(40.3% 0.109 315.1)

  • #634000

    #634000

    oklch(40.2% 0.085 74.1)

  • #005454

    #005454

    oklch(40.4% 0.069 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E3370

    #5E3370

    oklch(40.3% 0.109 315.1)

  • #763008

    #763008

    oklch(40.2% 0.109 44.7)

  • #2C540C

    #2C540C

    oklch(40.1% 0.108 134.9)

  • #005067

    #005067

    oklch(40.1% 0.076 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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