#5B1B6F
Closest named color: Royal Purple (#4B006E). oklch(36.5% 0.144 316.8), rgb(91, 27, 111).
Aa
White text reads best on this color (11.46:1).
About this color
#5B1B6F is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.144 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.053 away. White text reads best on it, at 11.46:1.
| Hue family | Purples |
| Lightness | dark (36%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.83:1 |
| White text | 11.46:1 |
Values
| HEX | #5B1B6F |
| RGB | rgb(91, 27, 111) |
| HSL | hsl(286, 61%, 27%) |
| OKLCH | oklch(36.5% 0.144 316.8) |
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 #5B1B6F | 11.46:1 | AAA | Lc -99.4 | Preferred for body text |
| Black text on #5B1B6F | 1.83:1 | Fails | Lc 8.3 | Not readable |
| #5B1B6F text on white | 11.46:1 | AAA | Lc 95.6 | Preferred for body text |
| #5B1B6F text on black | 1.83:1 | Fails | Lc 0.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
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F3E4F8
oklch(93.7% 0.031 317.7)
-
Step 200
200
#E9CDF4
oklch(88.4% 0.061 316.5)
-
Step 300
300
#DDABEF
oklch(80.9% 0.108 316.9)
-
Step 400
400
#CB7AE7
oklch(70.7% 0.173 316.9)
-
Step 500
500
#BC51DF
oklch(63% 0.22 316.8)
-
Step 600
600
#A82BCD
oklch(55.6% 0.24 316.9)
-
Step 700
700
#9019B1
oklch(49.1% 0.223 317)
-
Step 800
800
#751A90
oklch(42.7% 0.185 316.8)
-
Step 900
900 (this color)
#5B1B6F
oklch(36.5% 0.144 316.8)
-
Step 950
950
#371443
oklch(26.9% 0.091 316.5)
#5B1B6F 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) | #003671 | 0.136 |
| Deuteranopia (no green cones) | #1C3B6D | 0.122 |
| Tritanopia (no blue cones) | #5A2C43 | 0.092 |
| Achromatopsia (no color) | #393939 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B1B6F
#5B1B6F
oklch(36.5% 0.144 316.8)
- #1E4B00
#1E4B00
oklch(36.6% 0.111 136.9)
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 #5B1B6F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.053
- Grape Purple #5D1451 ΔE 0.053
- Indigo #4B0082 ΔE 0.061
- Rich Purple #720058 ΔE 0.067
- Plum Purple #4E0550 ΔE 0.068
- Velvet #750851 ΔE 0.078
- Purple #800080 ΔE 0.082
- Deep Violet #490648 ΔE 0.084
Use #5B1B6F 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.