#5B48B6

Closest named color: Bluey Purple (#6241C7). oklch(48.3% 0.167 286.3), rgb(91, 72, 182).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.167)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text3.04:1
White text6.89:1

Values

HEX#5B48B6
RGBrgb(91, 72, 182)
HSLhsl(250, 43%, 50%)
OKLCHoklch(48.3% 0.167 286.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 #5B48B6 6.89:1 AA Lc -88.4 Fine for body text
Black text on #5B48B6 3.04:1 AA large text Lc 20.6 Dividers and decoration only
#5B48B6 text on white 6.89:1 AA Lc 83.4 Fine for body text
#5B48B6 text on black 3.04:1 AA large text Lc -18.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 700.

  1. Step 50

    50

    #F5F5FD

    oklch(97.2% 0.011 286.2)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D5F6

    oklch(88.4% 0.045 286.8)

  4. Step 300

    300

    #BCB9F3

    oklch(80.8% 0.081 286.8)

  5. Step 400

    400

    #9B93ED

    oklch(70.7% 0.13 286.7)

  6. Step 500

    500

    #8476E7

    oklch(63.1% 0.165 286.3)

  7. Step 600

    600

    #6F5CD5

    oklch(55.7% 0.179 286.3)

  8. Step 700

    700 (this color)

    #5B48B6

    oklch(48.3% 0.167 286.3)

  9. Step 800

    800

    #4C3E95

    oklch(42.7% 0.137 286.4)

  10. Step 900

    900

    #3F3677

    oklch(37.8% 0.107 286.4)

  11. Step 950

    950

    #242046

    oklch(27% 0.069 285.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B48B6 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)#005DBA0.088
Deuteranopia (no green cones)#0057B40.086
Tritanopia (no blue cones)#3A62780.139
Achromatopsia (no color)#5A5A5A0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B48B6

    #5B48B6

    oklch(48.3% 0.167 286.3)

  • #666100

    #666100

    oklch(48.2% 0.103 106.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B48B6

    #5B48B6

    oklch(48.3% 0.167 286.3)

  • #005BBA

    #005BBA

    oklch(48.4% 0.167 256.3)

  • #82379C

    #82379C

    oklch(48.3% 0.167 316.3)

Open the analogous palette in the generator

Split complementary

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

  • #5B48B6

    #5B48B6

    oklch(48.3% 0.167 286.3)

  • #7F5500

    #7F5500

    oklch(48.3% 0.102 75.8)

  • #336F00

    #336F00

    oklch(48.2% 0.144 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B48B6

    #5B48B6

    oklch(48.3% 0.167 286.3)

  • #993F00

    #993F00

    oklch(48.2% 0.135 46.1)

  • #007052

    #007052

    oklch(48.4% 0.1 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B48B6

    #5B48B6

    oklch(48.3% 0.167 286.3)

  • #A8243C

    #A8243C

    oklch(48.4% 0.167 16.5)

  • #666100

    #666100

    oklch(48.2% 0.103 106.2)

  • #006D6E

    #006D6E

    oklch(48.5% 0.083 195.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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