#5D028D

Closest named color: Indigo (#4B0082). oklch(37.6% 0.191 307.4), rgb(93, 2, 141).

Aa

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

About this color

#5D028D is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.191 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.043 away. White text reads best on it, at 11.29:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.191)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.85:1
White text11.29:1

Values

HEX#5D028D
RGBrgb(93, 2, 141)
HSLhsl(279, 97%, 28%)
OKLCHoklch(37.6% 0.191 307.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 #5D028D 11.29:1 AAA Lc -98.1 Preferred for body text
Black text on #5D028D 1.85:1 Fails Lc 9.8 Not readable
#5D028D text on white 11.29:1 AAA Lc 94.1 Preferred for body text
#5D028D text on black 1.85:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300

    #D6ABFF

    oklch(80.9% 0.124 307.3)

  5. Step 400

    400

    #C278FF

    oklch(70.7% 0.199 307.4)

  6. Step 500

    500

    #B447FF

    oklch(63.1% 0.259 307.5)

  7. Step 600

    600

    #A100F0

    oklch(55.7% 0.286 307.4)

  8. Step 700

    700

    #8800CB

    oklch(49.2% 0.252 307.6)

  9. Step 800

    800

    #7000A8

    oklch(42.7% 0.219 307.7)

  10. Step 900

    900 (this color)

    #5D028D

    oklch(37.6% 0.191 307.4)

  11. Step 950

    950

    #360A53

    oklch(26.9% 0.122 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#5D028D 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)#0038900.142
Deuteranopia (no green cones)#003B8B0.144
Tritanopia (no blue cones)#5531510.130
Achromatopsia (no color)#3A3A3A0.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D028D

    #5D028D

    oklch(37.6% 0.191 307.4)

  • #334A00

    #334A00

    oklch(37.6% 0.097 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D028D

    #5D028D

    oklch(37.6% 0.191 307.4)

  • #3323A3

    #3323A3

    oklch(37.7% 0.191 277.6)

  • #720060

    #720060

    oklch(37.6% 0.166 337)

Open the analogous palette in the generator

Split complementary

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

  • #5D028D

    #5D028D

    oklch(37.6% 0.191 307.4)

  • #4D4100

    #4D4100

    oklch(37.6% 0.078 97.3)

  • #004F2E

    #004F2E

    oklch(37.6% 0.089 157.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D028D

    #5D028D

    oklch(37.6% 0.191 307.4)

  • #5E3700

    #5E3700

    oklch(37.6% 0.083 67)

  • #004C47

    #004C47

    oklch(37.5% 0.065 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D028D

    #5D028D

    oklch(37.6% 0.191 307.4)

  • #751F00

    #751F00

    oklch(37.6% 0.125 37.3)

  • #334A00

    #334A00

    oklch(37.6% 0.097 127.1)

  • #004A59

    #004A59

    oklch(37.7% 0.067 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 #5D028D, closest first.

Similar named colors

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

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