#5A5A96

Closest named color: Dusky Blue (#475F94). oklch(49.5% 0.095 282.4), rgb(90, 90, 150).

Aa

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

About this color

#5A5A96 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.095 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.029 away. White text reads best on it, at 6.29:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.33:1
White text6.29:1

Values

HEX#5A5A96
RGBrgb(90, 90, 150)
HSLhsl(240, 25%, 47%)
OKLCHoklch(49.5% 0.095 282.4)

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 #5A5A96 6.29:1 AA Lc -86.4 Fine for body text
Black text on #5A5A96 3.33:1 AA large text Lc 22.8 Dividers and decoration only
#5A5A96 text on white 6.29:1 AA Lc 81.3 Fine for body text
#5A5A96 text on black 3.33:1 AA large text Lc -20.6 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EA

    oklch(88.4% 0.026 283.4)

  4. Step 300

    300

    #BBBEDE

    oklch(81% 0.045 281.1)

  5. Step 400

    400

    #999BCE

    oklch(70.6% 0.074 282.6)

  6. Step 500

    500

    #8182C1

    oklch(63.1% 0.094 282.7)

  7. Step 600

    600

    #6B6BAD

    oklch(55.7% 0.101 282.6)

  8. Step 700

    700 (this color)

    #5A5A96

    oklch(49.5% 0.095 282.4)

  9. Step 800

    800

    #494979

    oklch(42.8% 0.079 282.6)

  10. Step 900

    900

    #3D3D61

    oklch(37.7% 0.061 283.1)

  11. Step 950

    950

    #232439

    oklch(27% 0.039 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A5A96 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)#4662980.033
Deuteranopia (no green cones)#435E950.032
Tritanopia (no blue cones)#4966710.082
Achromatopsia (no color)#6060600.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5A96

    #5A5A96

    oklch(49.5% 0.095 282.4)

  • #6C6315

    #6C6315

    oklch(49.4% 0.095 102.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5A96

    #5A5A96

    oklch(49.5% 0.095 282.4)

  • #376496

    #376496

    oklch(49.5% 0.095 252.5)

  • #745188

    #745188

    oklch(49.5% 0.094 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A5A96

    #5A5A96

    oklch(49.5% 0.095 282.4)

  • #825818

    #825818

    oklch(49.5% 0.094 72.8)

  • #4D6D31

    #4D6D31

    oklch(49.5% 0.095 132.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5A96

    #5A5A96

    oklch(49.5% 0.095 282.4)

  • #8E4E34

    #8E4E34

    oklch(49.5% 0.095 42.4)

  • #207251

    #207251

    oklch(49.4% 0.095 162.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5A96

    #5A5A96

    oklch(49.5% 0.095 282.4)

  • #8F4953

    #8F4953

    oklch(49.4% 0.095 12.1)

  • #6C6315

    #6C6315

    oklch(49.4% 0.095 102.4)

  • #00716E

    #00716E

    oklch(49.6% 0.085 191.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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