#5B43A6

Closest named color: Rebecca Purple (#663399). oklch(46.3% 0.152 290.3), rgb(91, 67, 166).

Aa

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

About this color

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

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

Values

HEX#5B43A6
RGBrgb(91, 67, 166)
HSLhsl(255, 42%, 46%)
OKLCHoklch(46.3% 0.152 290.3)

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 #5B43A6 7.50:1 AAA Lc -90.6 Preferred for body text
Black text on #5B43A6 2.79:1 Fails Lc 18.3 Dividers and decoration only
#5B43A6 text on white 7.50:1 AAA Lc 85.7 Fine for body text
#5B43A6 text on black 2.79:1 Fails Lc -16.3 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

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #C0B9EE

    oklch(81% 0.074 290.7)

  5. Step 400

    400

    #A093E5

    oklch(70.7% 0.118 290.3)

  6. Step 500

    500

    #8A76DD

    oklch(63% 0.151 290.3)

  7. Step 600

    600

    #755DCB

    oklch(55.7% 0.164 290.1)

  8. Step 700

    700 (this color)

    #5B43A6

    oklch(46.3% 0.152 290.3)

  9. Step 800

    800

    #503F8E

    oklch(42.8% 0.126 289.9)

  10. Step 900

    900

    #423671

    oklch(37.7% 0.098 290.3)

  11. Step 950

    950

    #272042

    oklch(27% 0.062 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B43A6 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)#0056A90.092
Deuteranopia (no green cones)#0052A40.092
Tritanopia (no blue cones)#45596E0.123
Achromatopsia (no color)#5555550.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B43A6

    #5B43A6

    oklch(46.3% 0.152 290.3)

  • #5C5D00

    #5C5D00

    oklch(46.2% 0.101 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B43A6

    #5B43A6

    oklch(46.3% 0.152 290.3)

  • #1F54AC

    #1F54AC

    oklch(46.3% 0.152 260.1)

  • #7D348C

    #7D348C

    oklch(46.3% 0.153 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B43A6

    #5B43A6

    oklch(46.3% 0.152 290.3)

  • #745200

    #745200

    oklch(46.3% 0.096 80.9)

  • #1B6B00

    #1B6B00

    oklch(46.2% 0.15 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B43A6

    #5B43A6

    oklch(46.3% 0.152 290.3)

  • #8C4000

    #8C4000

    oklch(46.3% 0.121 50.6)

  • #006951

    #006951

    oklch(46.3% 0.092 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B43A6

    #5B43A6

    oklch(46.3% 0.152 290.3)

  • #9C2733

    #9C2733

    oklch(46.3% 0.152 20.1)

  • #5C5D00

    #5C5D00

    oklch(46.2% 0.101 110.5)

  • #00666A

    #00666A

    oklch(46.4% 0.079 199.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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