#5D5290

Closest named color: Twilight (#4E518B). oklch(47.8% 0.098 290.3), rgb(93, 82, 144).

Aa

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

About this color

#5D5290 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.098 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.026 away. White text reads best on it, at 6.82:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text3.07:1
White text6.82:1

Values

HEX#5D5290
RGBrgb(93, 82, 144)
HSLhsl(251, 27%, 44%)
OKLCHoklch(47.8% 0.098 290.3)

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 #5D5290 6.82:1 AA Lc -88.5 Fine for body text
Black text on #5D5290 3.07:1 AA large text Lc 20.6 Dividers and decoration only
#5D5290 text on white 6.82:1 AA Lc 83.5 Fine for body text
#5D5290 text on black 3.07:1 AA large text Lc -18.5 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D7EA

    oklch(88.6% 0.026 288.3)

  4. Step 300

    300

    #C0BCDE

    oklch(80.9% 0.048 290.7)

  5. Step 400

    400

    #A099CD

    oklch(70.8% 0.075 290.5)

  6. Step 500

    500

    #897FC0

    oklch(63.1% 0.097 290.4)

  7. Step 600

    600

    #7367AC

    oklch(55.5% 0.106 290.5)

  8. Step 700

    700 (this color)

    #5D5290

    oklch(47.8% 0.098 290.3)

  9. Step 800

    800

    #4F4678

    oklch(42.6% 0.082 290.8)

  10. Step 900

    900

    #413B61

    oklch(37.6% 0.064 290.2)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#5D5290 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)#3E5C920.048
Deuteranopia (no green cones)#3F598E0.046
Tritanopia (no blue cones)#505E6A0.082
Achromatopsia (no color)#5B5B5B0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D5290

    #5D5290

    oklch(47.8% 0.098 290.3)

  • #60610F

    #60610F

    oklch(47.7% 0.098 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D5290

    #5D5290

    oklch(47.8% 0.098 290.3)

  • #3B5C94

    #3B5C94

    oklch(47.7% 0.099 260.4)

  • #75497F

    #75497F

    oklch(47.7% 0.099 320)

Open the analogous palette in the generator

Split complementary

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

  • #5D5290

    #5D5290

    oklch(47.8% 0.098 290.3)

  • #795602

    #795602

    oklch(47.8% 0.098 80.9)

  • #3C6A33

    #3C6A33

    oklch(47.7% 0.098 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D5290

    #5D5290

    oklch(47.8% 0.098 290.3)

  • #884B24

    #884B24

    oklch(47.9% 0.098 50.9)

  • #006E55

    #006E55

    oklch(47.9% 0.095 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D5290

    #5D5290

    oklch(47.8% 0.098 290.3)

  • #8C4445

    #8C4445

    oklch(47.8% 0.098 20.6)

  • #60610F

    #60610F

    oklch(47.7% 0.098 110.3)

  • #006A6F

    #006A6F

    oklch(47.7% 0.081 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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