#5B1385
Closest named color: Indigo (#4B0082). oklch(37.5% 0.173 308.3), rgb(91, 19, 133).
Aa
White text reads best on this color (11.19:1).
About this color
#5B1385 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.173 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.042 away. White text reads best on it, at 11.19:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Indigo (#4B0082) |
| Black text | 1.87:1 |
| White text | 11.19:1 |
Values
| HEX | #5B1385 |
| RGB | rgb(91, 19, 133) |
| HSL | hsl(278, 75%, 30%) |
| OKLCH | oklch(37.5% 0.173 308.3) |
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 #5B1385 | 11.19:1 | AAA | Lc -98.5 | Preferred for body text |
| Black text on #5B1385 | 1.87:1 | Fails | Lc 9.3 | Not readable |
| #5B1385 text on white | 11.19:1 | AAA | Lc 94.6 | Preferred for body text |
| #5B1385 text on black | 1.87:1 | Fails | Lc -8.0 | 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
#F1E4FE
oklch(93.7% 0.037 308)
-
Step 200
200
#E7CDFE
oklch(88.5% 0.072 308.9)
-
Step 300
300
#D7AAFF
oklch(80.9% 0.126 308)
-
Step 400
400
#C477FF
oklch(70.8% 0.201 308.2)
-
Step 500
500
#B644FF
oklch(63% 0.263 308.3)
-
Step 600
600
#A200ED
oklch(55.6% 0.283 308.4)
-
Step 700
700
#8900C9
oklch(49.1% 0.25 308.5)
-
Step 800
800
#7100A7
oklch(42.8% 0.218 308.4)
-
Step 900
900 (this color)
#5B1385
oklch(37.5% 0.173 308.3)
-
Step 950
950
#35104E
oklch(27% 0.109 307.9)
#5B1385 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) | #003988 | 0.135 |
| Deuteranopia (no green cones) | #003C83 | 0.137 |
| Tritanopia (no blue cones) | #54324E | 0.118 |
| Achromatopsia (no color) | #3B3B3B | 0.175 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B1385
#5B1385
oklch(37.5% 0.173 308.3)
- #314A00
#314A00
oklch(37.4% 0.098 128.3)
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 #5B1385, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo #4B0082 ΔE 0.042
- Royal Purple #4B006E ΔE 0.057
- Rebecca Purple #663399 ΔE 0.068
- Chrysanthemum #560BAD ΔE 0.069
- Imperial Purple #480CA8 ΔE 0.075
- Purple #800080 ΔE 0.081
- Dark Slate Blue #483D8B ΔE 0.084
- Grape Purple #5D1451 ΔE 0.091
Use #5B1385 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.