#5B3EB7

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(46.8% 0.181 288.4), rgb(91, 62, 183).

Aa

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

About this color

#5B3EB7 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.181 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.028 away. White text reads best on it, at 7.45:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.181)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.81:1
White text7.45:1

Values

HEX#5B3EB7
RGBrgb(91, 62, 183)
HSLhsl(254, 49%, 48%)
OKLCHoklch(46.8% 0.181 288.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 #5B3EB7 7.45:1 AAA Lc -90.2 Preferred for body text
Black text on #5B3EB7 2.81:1 Fails Lc 18.7 Dividers and decoration only
#5B3EB7 text on white 7.45:1 AAA Lc 85.4 Fine for body text
#5B3EB7 text on black 2.81:1 Fails Lc -16.7 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8FA

    oklch(93.7% 0.024 288.5)

  3. Step 200

    200

    #D7D5F8

    oklch(88.6% 0.048 288)

  4. Step 300

    300

    #BEB8F6

    oklch(80.9% 0.087 288.7)

  5. Step 400

    400

    #9E91F2

    oklch(70.8% 0.139 288.5)

  6. Step 500

    500

    #8872ED

    oklch(63.1% 0.178 288.4)

  7. Step 600

    600

    #7356DC

    oklch(55.6% 0.195 288.3)

  8. Step 700

    700 (this color)

    #5B3EB7

    oklch(46.8% 0.181 288.4)

  9. Step 800

    800

    #4F3A9A

    oklch(42.7% 0.15 288.5)

  10. Step 900

    900

    #41337B

    oklch(37.7% 0.117 288.4)

  11. Step 950

    950

    #261F48

    oklch(27.1% 0.074 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B3EB7 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)#0058BB0.095
Deuteranopia (no green cones)#0052B50.093
Tritanopia (no blue cones)#3A5C750.148
Achromatopsia (no color)#5555550.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B3EB7

    #5B3EB7

    oklch(46.8% 0.181 288.4)

  • #605E00

    #605E00

    oklch(46.8% 0.101 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B3EB7

    #5B3EB7

    oklch(46.8% 0.181 288.4)

  • #0054BA

    #0054BA

    oklch(46.9% 0.176 258.3)

  • #822B99

    #822B99

    oklch(46.8% 0.18 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B3EB7

    #5B3EB7

    oklch(46.8% 0.181 288.4)

  • #785200

    #785200

    oklch(46.8% 0.098 77.8)

  • #276C00

    #276C00

    oklch(46.8% 0.146 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B3EB7

    #5B3EB7

    oklch(46.8% 0.181 288.4)

  • #903F00

    #903F00

    oklch(46.8% 0.126 48.7)

  • #006B50

    #006B50

    oklch(46.9% 0.095 167.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B3EB7

    #5B3EB7

    oklch(46.8% 0.181 288.4)

  • #A80D30

    #A80D30

    oklch(46.8% 0.181 18.4)

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

Similar named colors

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

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