#5A548D

Closest named color: Twilight (#4E518B). oklch(47.7% 0.09 287.3), rgb(90, 84, 141).

Aa

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

About this color

#5A548D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.090 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.022 away. White text reads best on it, at 6.80:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.08:1
White text6.80:1

Values

HEX#5A548D
RGBrgb(90, 84, 141)
HSLhsl(246, 25%, 44%)
OKLCHoklch(47.7% 0.09 287.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 #5A548D 6.80:1 AA Lc -88.4 Fine for body text
Black text on #5A548D 3.08:1 AA large text Lc 20.6 Dividers and decoration only
#5A548D text on white 6.80:1 AA Lc 83.4 Fine for body text
#5A548D text on black 3.08: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

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D8D7E9

    oklch(88.5% 0.025 288.4)

  4. Step 300

    300

    #BEBDDC

    oklch(80.9% 0.043 286.9)

  5. Step 400

    400

    #9D9ACB

    oklch(70.6% 0.071 287.2)

  6. Step 500

    500

    #8681BD

    oklch(63.1% 0.089 287.4)

  7. Step 600

    600

    #706AA9

    oklch(55.7% 0.096 287.2)

  8. Step 700

    700 (this color)

    #5A548D

    oklch(47.7% 0.09 287.3)

  9. Step 800

    800

    #4D4876

    oklch(42.7% 0.075 287.8)

  10. Step 900

    900

    #403D5F

    oklch(37.8% 0.057 287.4)

  11. Step 950

    950

    #252438

    oklch(27.1% 0.037 286)

Export this scale for Tailwind in the Tailwind colors tool

#5A548D 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)#425C8F0.038
Deuteranopia (no green cones)#41598C0.037
Tritanopia (no blue cones)#4D5F6A0.077
Achromatopsia (no color)#5B5B5B0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A548D

    #5A548D

    oklch(47.7% 0.09 287.3)

  • #636019

    #636019

    oklch(47.8% 0.09 106.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A548D

    #5A548D

    oklch(47.7% 0.09 287.3)

  • #3B5E8F

    #3B5E8F

    oklch(47.9% 0.089 257)

  • #714C7E

    #714C7E

    oklch(47.7% 0.089 317)

Open the analogous palette in the generator

Split complementary

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

  • #5A548D

    #5A548D

    oklch(47.7% 0.09 287.3)

  • #795515

    #795515

    oklch(47.7% 0.09 76.9)

  • #436934

    #436934

    oklch(47.9% 0.091 137.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A548D

    #5A548D

    oklch(47.7% 0.09 287.3)

  • #864B2D

    #864B2D

    oklch(47.7% 0.091 46.6)

  • #156D52

    #156D52

    oklch(47.8% 0.091 166.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A548D

    #5A548D

    oklch(47.7% 0.09 287.3)

  • #88464A

    #88464A

    oklch(47.7% 0.09 17.2)

  • #636019

    #636019

    oklch(47.8% 0.09 106.9)

  • #006B6D

    #006B6D

    oklch(47.9% 0.081 197)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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