#5D2687

Closest named color: Rebecca Purple (#663399). oklch(39.8% 0.155 306.5), rgb(93, 38, 135).

Aa

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

About this color

#5D2687 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.155 and its hue 307°. 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 10.03:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.155)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.09:1
White text10.03:1

Values

HEX#5D2687
RGBrgb(93, 38, 135)
HSLhsl(274, 56%, 34%)
OKLCHoklch(39.8% 0.155 306.5)

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 #5D2687 10.03:1 AAA Lc -96.8 Preferred for body text
Black text on #5D2687 2.09:1 Fails Lc 11.4 Not readable
#5D2687 text on white 10.03:1 AAA Lc 92.6 Preferred for body text
#5D2687 text on black 2.09:1 Fails Lc -9.9 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 900.

  1. Step 50

    50

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE4FC

    oklch(93.5% 0.034 306.3)

  3. Step 200

    200

    #E4CFFC

    oklch(88.6% 0.065 306.2)

  4. Step 300

    300

    #D4ADFC

    oklch(81% 0.116 306.6)

  5. Step 400

    400

    #BE7CFA

    oklch(70.6% 0.186 306.4)

  6. Step 500

    500

    #AF52F7

    oklch(63.1% 0.238 306.6)

  7. Step 600

    600

    #9B28E6

    oklch(55.6% 0.259 306.6)

  8. Step 700

    700

    #8415C8

    oklch(49% 0.241 306.3)

  9. Step 800

    800

    #6C19A2

    oklch(42.8% 0.2 306.6)

  10. Step 900

    900 (this color)

    #5D2687

    oklch(39.8% 0.155 306.5)

  11. Step 950

    950

    #33144B

    oklch(27% 0.099 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#5D2687 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)#00408A0.124
Deuteranopia (no green cones)#0542850.124
Tritanopia (no blue cones)#563C530.111
Achromatopsia (no color)#4242420.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D2687

    #5D2687

    oklch(39.8% 0.155 306.5)

  • #395000

    #395000

    oklch(39.7% 0.101 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D2687

    #5D2687

    oklch(39.8% 0.155 306.5)

  • #363698

    #363698

    oklch(39.7% 0.156 276.6)

  • #761665

    #761665

    oklch(39.8% 0.155 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #5D2687

    #5D2687

    oklch(39.8% 0.155 306.5)

  • #544700

    #544700

    oklch(39.9% 0.082 97.2)

  • #005631

    #005631

    oklch(39.9% 0.096 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D2687

    #5D2687

    oklch(39.8% 0.155 306.5)

  • #663C00

    #663C00

    oklch(39.8% 0.088 66.9)

  • #00534D

    #00534D

    oklch(39.8% 0.07 186.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D2687

    #5D2687

    oklch(39.8% 0.155 306.5)

  • #802100

    #802100

    oklch(39.9% 0.135 36.6)

  • #395000

    #395000

    oklch(39.7% 0.101 126.3)

  • #005060

    #005060

    oklch(39.8% 0.071 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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