#5A46A8

Closest named color: Blueberry (#464196). oklch(46.8% 0.151 288.6), rgb(90, 70, 168).

Aa

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

About this color

#5A46A8 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.151 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.046 away. White text reads best on it, at 7.30:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.151)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.87:1
White text7.30:1

Values

HEX#5A46A8
RGBrgb(90, 70, 168)
HSLhsl(252, 41%, 47%)
OKLCHoklch(46.8% 0.151 288.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 #5A46A8 7.30:1 AAA Lc -89.9 Fine for body text
Black text on #5A46A8 2.87:1 Fails Lc 19.0 Dividers and decoration only
#5A46A8 text on white 7.30:1 AAA Lc 85.0 Fine for body text
#5A46A8 text on black 2.87:1 Fails Lc -17.0 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D7D5F3

    oklch(88.4% 0.041 288.6)

  4. Step 300

    300

    #BEBAEE

    oklch(81% 0.073 288.2)

  5. Step 400

    400

    #9E94E5

    oklch(70.7% 0.117 288.7)

  6. Step 500

    500

    #8777DD

    oklch(63% 0.15 288.5)

  7. Step 600

    600

    #725ECB

    oklch(55.6% 0.162 288.4)

  8. Step 700

    700 (this color)

    #5A46A8

    oklch(46.8% 0.151 288.6)

  9. Step 800

    800

    #4E408E

    oklch(42.8% 0.124 288.2)

  10. Step 900

    900

    #413771

    oklch(37.8% 0.096 288.9)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A46A8 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)#0058AB0.088
Deuteranopia (no green cones)#0354A60.087
Tritanopia (no blue cones)#415C700.125
Achromatopsia (no color)#5656560.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A46A8

    #5A46A8

    oklch(46.8% 0.151 288.6)

  • #605E00

    #605E00

    oklch(46.8% 0.101 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A46A8

    #5A46A8

    oklch(46.8% 0.151 288.6)

  • #1B57AD

    #1B57AD

    oklch(47% 0.151 258.4)

  • #7D378F

    #7D378F

    oklch(46.8% 0.152 318.9)

Open the analogous palette in the generator

Split complementary

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

  • #5A46A8

    #5A46A8

    oklch(46.8% 0.151 288.6)

  • #785200

    #785200

    oklch(46.8% 0.098 77.8)

  • #266C00

    #266C00

    oklch(46.8% 0.146 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A46A8

    #5A46A8

    oklch(46.8% 0.151 288.6)

  • #903F00

    #903F00

    oklch(46.8% 0.126 48.7)

  • #006B51

    #006B51

    oklch(46.9% 0.094 168.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A46A8

    #5A46A8

    oklch(46.8% 0.151 288.6)

  • #9D2938

    #9D2938

    oklch(46.8% 0.151 18.3)

  • #605E00

    #605E00

    oklch(46.8% 0.101 108.3)

  • #00686B

    #00686B

    oklch(47% 0.08 198.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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