#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 family | Purples |
| Lightness | dark (38%) |
| Chroma | vivid (0.191) |
| Temperature | in between |
| Nearest name | Indigo (#4B0082) |
| Black text | 1.85:1 |
| White text | 11.29:1 |
Values
| HEX | #5D028D |
| RGB | rgb(93, 2, 141) |
| HSL | hsl(279, 97%, 28%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F9F3FF
oklch(97.2% 0.017 308.3)
-
Step 100
100
#F1E3FF
oklch(93.5% 0.04 308)
-
Step 200
200
#E6CDFF
oklch(88.5% 0.073 307.6)
-
Step 300
300
#D6ABFF
oklch(80.9% 0.124 307.3)
-
Step 400
400
#C278FF
oklch(70.7% 0.199 307.4)
-
Step 500
500
#B447FF
oklch(63.1% 0.259 307.5)
-
Step 600
600
#A100F0
oklch(55.7% 0.286 307.4)
-
Step 700
700
#8800CB
oklch(49.2% 0.252 307.6)
-
Step 800
800
#7000A8
oklch(42.7% 0.219 307.7)
-
Step 900
900 (this color)
#5D028D
oklch(37.6% 0.191 307.4)
-
Step 950
950
#360A53
oklch(26.9% 0.122 306.9)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #003890 | 0.142 |
| Deuteranopia (no green cones) | #003B8B | 0.144 |
| Tritanopia (no blue cones) | #553151 | 0.130 |
| Achromatopsia (no color) | #3A3A3A | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Indigo #4B0082 ΔE 0.043
- Chrysanthemum #560BAD ΔE 0.059
- Royal Purple #4B006E ΔE 0.065
- Imperial Purple #480CA8 ΔE 0.069
- Rebecca Purple #663399 ΔE 0.072
- Grape #7209B7 ΔE 0.081
- Purple #800080 ΔE 0.083
- Dark Slate Blue #483D8B ΔE 0.096
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.