#5B45AA

Closest named color: Bluey Purple (#6241C7). oklch(46.9% 0.155 289), rgb(91, 69, 170).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.155)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text2.87:1
White text7.30:1

Values

HEX#5B45AA
RGBrgb(91, 69, 170)
HSLhsl(253, 42%, 47%)
OKLCHoklch(46.9% 0.155 289)

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 #5B45AA 7.30:1 AAA Lc -89.9 Fine for body text
Black text on #5B45AA 2.87:1 Fails Lc 19.0 Dividers and decoration only
#5B45AA text on white 7.30:1 AAA Lc 85.0 Fine for body text
#5B45AA 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

    #D8D5F4

    oklch(88.5% 0.042 289.9)

  4. Step 300

    300

    #BEB9EF

    oklch(80.8% 0.076 288.8)

  5. Step 400

    400

    #9E93E6

    oklch(70.6% 0.12 289)

  6. Step 500

    500

    #8876DF

    oklch(63% 0.154 289.1)

  7. Step 600

    600

    #735DCD

    oklch(55.6% 0.166 288.8)

  8. Step 700

    700 (this color)

    #5B45AA

    oklch(46.9% 0.155 289)

  9. Step 800

    800

    #4F3F8F

    oklch(42.7% 0.127 289.1)

  10. Step 900

    900

    #413672

    oklch(37.6% 0.099 289.1)

  11. Step 950

    950

    #262043

    oklch(27% 0.064 289.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B45AA 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)#0058AD0.090
Deuteranopia (no green cones)#0054A80.090
Tritanopia (no blue cones)#425C710.127
Achromatopsia (no color)#5656560.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B45AA

    #5B45AA

    oklch(46.9% 0.155 289)

  • #5F5E00

    #5F5E00

    oklch(46.7% 0.101 109)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B45AA

    #5B45AA

    oklch(46.9% 0.155 289)

  • #1B56AF

    #1B56AF

    oklch(46.9% 0.155 259.1)

  • #7E3690

    #7E3690

    oklch(46.9% 0.155 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B45AA

    #5B45AA

    oklch(46.9% 0.155 289)

  • #775300

    #775300

    oklch(46.9% 0.097 79.6)

  • #246D00

    #246D00

    oklch(47% 0.148 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B45AA

    #5B45AA

    oklch(46.9% 0.155 289)

  • #904000

    #904000

    oklch(46.9% 0.125 49.3)

  • #006B51

    #006B51

    oklch(46.9% 0.094 168.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B45AA

    #5B45AA

    oklch(46.9% 0.155 289)

  • #9F2736

    #9F2736

    oklch(46.9% 0.155 19)

  • #5F5E00

    #5F5E00

    oklch(46.7% 0.101 109)

  • #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 #5B45AA, closest first.

Similar named colors

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

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