#5B3F91

Closest named color: Rebecca Purple (#663399). oklch(44.1% 0.13 296.4), rgb(91, 63, 145).

Aa

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

About this color

#5B3F91 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.130 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.035 away. White text reads best on it, at 8.18:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.56:1
White text8.18:1

Values

HEX#5B3F91
RGBrgb(91, 63, 145)
HSLhsl(260, 39%, 41%)
OKLCHoklch(44.1% 0.13 296.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 #5B3F91 8.18:1 AAA Lc -92.7 Preferred for body text
Black text on #5B3F91 2.56:1 Fails Lc 16.0 Dividers and decoration only
#5B3F91 text on white 8.18:1 AAA Lc 88.0 Fine for body text
#5B3F91 text on black 2.56:1 Fails Lc -14.1 Not readable

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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F3

    oklch(88.5% 0.043 295.9)

  4. Step 300

    300

    #C5B7ED

    oklch(80.9% 0.077 296.5)

  5. Step 400

    400

    #A890E4

    oklch(70.8% 0.122 296.3)

  6. Step 500

    500

    #9472DB

    oklch(63.1% 0.155 296.6)

  7. Step 600

    600

    #7F58C9

    oklch(55.7% 0.169 296.4)

  8. Step 700

    700

    #6B47AE

    oklch(49.1% 0.158 296.2)

  9. Step 800

    800 (this color)

    #5B3F91

    oklch(44.1% 0.13 296.4)

  10. Step 900

    900

    #483370

    oklch(37.6% 0.102 297.1)

  11. Step 950

    950

    #2A1F42

    oklch(27.1% 0.064 296.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B3F91 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)#1A4F940.088
Deuteranopia (no green cones)#234E8F0.082
Tritanopia (no blue cones)#4E50620.102
Achromatopsia (no color)#4F4F4F0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B3F91

    #5B3F91

    oklch(44.1% 0.13 296.4)

  • #505900

    #505900

    oklch(44.1% 0.101 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B3F91

    #5B3F91

    oklch(44.1% 0.13 296.4)

  • #314D9A

    #314D9A

    oklch(44.2% 0.13 266.2)

  • #763478

    #763478

    oklch(44.1% 0.13 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B3F91

    #5B3F91

    oklch(44.1% 0.13 296.4)

  • #684E00

    #684E00

    oklch(43.9% 0.09 86.4)

  • #056520

    #056520

    oklch(44.2% 0.131 146.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B3F91

    #5B3F91

    oklch(44.1% 0.13 296.4)

  • #7E4000

    #7E4000

    oklch(44.1% 0.107 56.4)

  • #006151

    #006151

    oklch(44% 0.082 176.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B3F91

    #5B3F91

    oklch(44.1% 0.13 296.4)

  • #8D2D29

    #8D2D29

    oklch(44.1% 0.131 26.3)

  • #505900

    #505900

    oklch(44.1% 0.101 116.3)

  • #005E67

    #005E67

    oklch(44% 0.075 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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