#5B3DAA

Closest named color: Rebecca Purple (#663399). oklch(45.6% 0.166 291), rgb(91, 61, 170).

Aa

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

About this color

#5B3DAA is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.166 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.039 away. White text reads best on it, at 7.79:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.166)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.69:1
White text7.79:1

Values

HEX#5B3DAA
RGBrgb(91, 61, 170)
HSLhsl(257, 47%, 45%)
OKLCHoklch(45.6% 0.166 291)

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 #5B3DAA 7.79:1 AAA Lc -91.4 Preferred for body text
Black text on #5B3DAA 2.69:1 Fails Lc 17.4 Dividers and decoration only
#5B3DAA text on white 7.79:1 AAA Lc 86.6 Fine for body text
#5B3DAA text on black 2.69:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D9D4FB

    oklch(88.6% 0.053 291.1)

  4. Step 300

    300

    #C0B6FB

    oklch(80.9% 0.097 290.7)

  5. Step 400

    400

    #A28DF9

    oklch(70.8% 0.155 290.8)

  6. Step 500

    500

    #8E6BF6

    oklch(63.1% 0.199 291.2)

  7. Step 600

    600

    #794EE4

    oklch(55.5% 0.215 290.9)

  8. Step 700

    700

    #673DC7

    oklch(49.1% 0.201 291.1)

  9. Step 800

    800 (this color)

    #5B3DAA

    oklch(45.6% 0.166 291)

  10. Step 900

    900

    #442F7F

    oklch(37.6% 0.129 291)

  11. Step 950

    950

    #281D4B

    oklch(27.2% 0.082 291)

Export this scale for Tailwind in the Tailwind colors tool

#5B3DAA 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)#0054AD0.097
Deuteranopia (no green cones)#0050A80.096
Tritanopia (no blue cones)#43576E0.134
Achromatopsia (no color)#5252520.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B3DAA

    #5B3DAA

    oklch(45.6% 0.166 291)

  • #5A5B00

    #5A5B00

    oklch(45.5% 0.1 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B3DAA

    #5B3DAA

    oklch(45.6% 0.166 291)

  • #1950B1

    #1950B1

    oklch(45.7% 0.165 260.9)

  • #7E2C8D

    #7E2C8D

    oklch(45.5% 0.166 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B3DAA

    #5B3DAA

    oklch(45.6% 0.166 291)

  • #715000

    #715000

    oklch(45.5% 0.094 81.1)

  • #146A00

    #146A00

    oklch(45.7% 0.151 141.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B3DAA

    #5B3DAA

    oklch(45.6% 0.166 291)

  • #893F00

    #893F00

    oklch(45.7% 0.119 51)

  • #006750

    #006750

    oklch(45.7% 0.09 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B3DAA

    #5B3DAA

    oklch(45.6% 0.166 291)

  • #9F1A2B

    #9F1A2B

    oklch(45.7% 0.166 21.1)

  • #5A5B00

    #5A5B00

    oklch(45.5% 0.1 110.5)

  • #006369

    #006369

    oklch(45.5% 0.077 202.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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