#5A4488

Closest named color: Twilight (#4E518B). oklch(44.3% 0.11 296.6), rgb(90, 68, 136).

Aa

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

About this color

#5A4488 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.110 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.038 away. White text reads best on it, at 8.02:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.61:1
White text8.02:1

Values

HEX#5A4488
RGBrgb(90, 68, 136)
HSLhsl(259, 33%, 40%)
OKLCHoklch(44.3% 0.11 296.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 #5A4488 8.02:1 AAA Lc -92.3 Preferred for body text
Black text on #5A4488 2.61:1 Fails Lc 16.4 Dividers and decoration only
#5A4488 text on white 8.02:1 AAA Lc 87.6 Fine for body text
#5A4488 text on black 2.61:1 Fails Lc -14.5 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

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C4B9E6

    oklch(81% 0.064 296.2)

  5. Step 400

    400

    #A793D9

    oklch(70.7% 0.102 296.8)

  6. Step 500

    500

    #9277CF

    oklch(63.2% 0.131 296.6)

  7. Step 600

    600

    #7D5EBC

    oklch(55.7% 0.143 296.7)

  8. Step 700

    700

    #694DA2

    oklch(49.1% 0.133 296.4)

  9. Step 800

    800 (this color)

    #5A4488

    oklch(44.3% 0.11 296.6)

  10. Step 900

    900

    #463769

    oklch(37.7% 0.084 295.9)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A4488 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)#2D518A0.069
Deuteranopia (no green cones)#314F860.064
Tritanopia (no blue cones)#50515F0.088
Achromatopsia (no color)#5050500.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A4488

    #5A4488

    oklch(44.3% 0.11 296.6)

  • #505A00

    #505A00

    oklch(44.3% 0.102 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A4488

    #5A4488

    oklch(44.3% 0.11 296.6)

  • #374F90

    #374F90

    oklch(44.2% 0.111 266.7)

  • #723B73

    #723B73

    oklch(44.3% 0.11 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A4488

    #5A4488

    oklch(44.3% 0.11 296.6)

  • #694F00

    #694F00

    oklch(44.3% 0.091 86.7)

  • #20632C

    #20632C

    oklch(44.3% 0.11 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A4488

    #5A4488

    oklch(44.3% 0.11 296.6)

  • #7E4000

    #7E4000

    oklch(44.1% 0.107 56.4)

  • #006252

    #006252

    oklch(44.3% 0.083 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A4488

    #5A4488

    oklch(44.3% 0.11 296.6)

  • #853731

    #853731

    oklch(44.2% 0.109 26.8)

  • #505A00

    #505A00

    oklch(44.3% 0.102 117)

  • #005F68

    #005F68

    oklch(44.3% 0.076 206.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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