#5C2488

Closest named color: Rebecca Purple (#663399). oklch(39.6% 0.159 305.9), rgb(92, 36, 136).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.159)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.06:1
White text10.17:1

Values

HEX#5C2488
RGBrgb(92, 36, 136)
HSLhsl(274, 58%, 34%)
OKLCHoklch(39.6% 0.159 305.9)

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 #5C2488 10.17:1 AAA Lc -97.0 Preferred for body text
Black text on #5C2488 2.06:1 Fails Lc 11.1 Not readable
#5C2488 text on white 10.17:1 AAA Lc 92.9 Preferred for body text
#5C2488 text on black 2.06:1 Fails Lc -9.6 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

    #EFE4FD

    oklch(93.5% 0.035 305.5)

  3. Step 200

    200

    #E4CFFD

    oklch(88.6% 0.066 305.8)

  4. Step 300

    300

    #D3ACFE

    oklch(80.8% 0.12 305.7)

  5. Step 400

    400

    #BE7BFD

    oklch(70.6% 0.191 305.9)

  6. Step 500

    500

    #AF50FB

    oklch(63.2% 0.244 305.9)

  7. Step 600

    600

    #9B25E9

    oklch(55.6% 0.264 306.1)

  8. Step 700

    700

    #840FCB

    oklch(49.1% 0.246 305.8)

  9. Step 800

    800

    #6B16A4

    oklch(42.6% 0.204 305.7)

  10. Step 900

    900 (this color)

    #5C2488

    oklch(39.6% 0.159 305.9)

  11. Step 950

    950

    #33144C

    oklch(27% 0.1 306.2)

Export this scale for Tailwind in the Tailwind colors tool

#5C2488 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)#00408B0.124
Deuteranopia (no green cones)#0041860.126
Tritanopia (no blue cones)#543B530.113
Achromatopsia (no color)#4141410.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C2488

    #5C2488

    oklch(39.6% 0.159 305.9)

  • #394F00

    #394F00

    oklch(39.5% 0.1 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C2488

    #5C2488

    oklch(39.6% 0.159 305.9)

  • #343599

    #343599

    oklch(39.5% 0.159 275.9)

  • #761366

    #761366

    oklch(39.6% 0.158 336)

Open the analogous palette in the generator

Split complementary

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

  • #5C2488

    #5C2488

    oklch(39.6% 0.159 305.9)

  • #544600

    #544600

    oklch(39.7% 0.082 96)

  • #00552F

    #00552F

    oklch(39.5% 0.096 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C2488

    #5C2488

    oklch(39.6% 0.159 305.9)

  • #663B00

    #663B00

    oklch(39.6% 0.088 65.7)

  • #00524C

    #00524C

    oklch(39.5% 0.069 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C2488

    #5C2488

    oklch(39.6% 0.159 305.9)

  • #7F1F00

    #7F1F00

    oklch(39.5% 0.136 35.9)

  • #394F00

    #394F00

    oklch(39.5% 0.1 125.8)

  • #004F5E

    #004F5E

    oklch(39.4% 0.07 216.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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