#5B2A4E
Closest named color: Grape Purple (#5D1451). oklch(36.5% 0.087 338.3), rgb(91, 42, 78).
Aa
White text reads best on this color (11.13:1).
About this color
#5B2A4E is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.087 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.046 away. White text reads best on it, at 11.13:1.
| Hue family | Purples |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.087) |
| Temperature | warm |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.88:1 |
| White text | 11.13:1 |
Values
| HEX | #5B2A4E |
| RGB | rgb(91, 42, 78) |
| HSL | hsl(316, 37%, 26%) |
| OKLCH | oklch(36.5% 0.087 338.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 #5B2A4E | 11.13:1 | AAA | Lc -99.2 | Preferred for body text |
| Black text on #5B2A4E | 1.88:1 | Fails | Lc 8.5 | Not readable |
| #5B2A4E text on white | 11.13:1 | AAA | Lc 95.4 | Preferred for body text |
| #5B2A4E text on black | 1.88: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
#FAF3F7
oklch(97.1% 0.009 341.8)
-
Step 100
100
#F3E5EE
oklch(93.6% 0.019 338.7)
-
Step 200
200
#EAD0E1
oklch(88.4% 0.037 338.7)
-
Step 300
300
#DEB1CF
oklch(81% 0.065 338.8)
-
Step 400
400
#CB87B7
oklch(70.7% 0.104 338.2)
-
Step 500
500
#BC67A5
oklch(63.1% 0.133 338.1)
-
Step 600
600
#A84C90
oklch(55.6% 0.146 338.5)
-
Step 700
700
#8F3D7B
oklch(49.1% 0.135 337.9)
-
Step 800
800
#753364
oklch(42.8% 0.112 338.3)
-
Step 900
900 (this color)
#5B2A4E
oklch(36.5% 0.087 338.3)
-
Step 950
950
#381B30
oklch(27.1% 0.056 338.3)
#5B2A4E 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) | #2C374F | 0.090 |
| Deuteranopia (no green cones) | #393E4D | 0.081 |
| Tritanopia (no blue cones) | #602B38 | 0.041 |
| Achromatopsia (no color) | #3B3B3B | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B2A4E
#5B2A4E
oklch(36.5% 0.087 338.3)
- #004B2D
#004B2D
oklch(36.4% 0.084 158.6)
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 #5B2A4E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.046
- Purple Brown #673A3F ΔE 0.064
- Velvet #750851 ΔE 0.069
- Merlot #730039 ΔE 0.073
- Rich Purple #720058 ΔE 0.074
- Plum Purple #4E0550 ΔE 0.080
- Burgundy #610023 ΔE 0.085
- Deep Violet #490648 ΔE 0.086
Use #5B2A4E 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.