#5B2C89

Closest named color: Rebecca Purple (#663399). oklch(40.5% 0.149 303.6), rgb(91, 44, 137).

Aa

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

About this color

#5B2C89 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.149 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.037 away. White text reads best on it, at 9.69:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.149)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.16:1
White text9.69:1

Values

HEX#5B2C89
RGBrgb(91, 44, 137)
HSLhsl(270, 51%, 35%)
OKLCHoklch(40.5% 0.149 303.6)

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 #5B2C89 9.69:1 AAA Lc -96.2 Preferred for body text
Black text on #5B2C89 2.16:1 Fails Lc 12.0 Not readable
#5B2C89 text on white 9.69:1 AAA Lc 91.9 Preferred for body text
#5B2C89 text on black 2.16:1 Fails Lc -10.5 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F4

    oklch(88.6% 0.048 304.1)

  4. Step 300

    300

    #CCB3EF

    oklch(80.8% 0.087 303.5)

  5. Step 400

    400

    #B389E7

    oklch(70.7% 0.14 303.6)

  6. Step 500

    500

    #A168E0

    oklch(63.1% 0.179 303.6)

  7. Step 600

    600

    #8C4CCD

    oklch(55.5% 0.193 303.5)

  8. Step 700

    700

    #773CB2

    oklch(49.1% 0.18 303.3)

  9. Step 800

    800 (this color)

    #5B2C89

    oklch(40.5% 0.149 303.6)

  10. Step 900

    900

    #4F2E73

    oklch(37.8% 0.116 303.4)

  11. Step 950

    950

    #2E1C43

    oklch(27% 0.072 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B2C89 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)#00438C0.116
Deuteranopia (no green cones)#0A44870.113
Tritanopia (no blue cones)#5241560.110
Achromatopsia (no color)#4444440.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B2C89

    #5B2C89

    oklch(40.5% 0.149 303.6)

  • #3E5100

    #3E5100

    oklch(40.4% 0.1 123.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B2C89

    #5B2C89

    oklch(40.5% 0.149 303.6)

  • #333C98

    #333C98

    oklch(40.7% 0.149 273.5)

  • #751E6A

    #751E6A

    oklch(40.6% 0.149 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B2C89

    #5B2C89

    oklch(40.5% 0.149 303.6)

  • #584700

    #584700

    oklch(40.4% 0.083 93.2)

  • #00582D

    #00582D

    oklch(40.4% 0.103 153.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B2C89

    #5B2C89

    oklch(40.5% 0.149 303.6)

  • #6B3C00

    #6B3C00

    oklch(40.5% 0.092 63.3)

  • #00554D

    #00554D

    oklch(40.4% 0.072 184)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B2C89

    #5B2C89

    oklch(40.5% 0.149 303.6)

  • #871A00

    #871A00

    oklch(40.6% 0.147 33.6)

  • #3E5100

    #3E5100

    oklch(40.4% 0.1 123.7)

  • #005360

    #005360

    oklch(40.6% 0.071 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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