#5B173D
Closest named color: Grape Purple (#5D1451). oklch(33.1% 0.107 350.2), rgb(91, 23, 61).
Aa
White text reads best on this color (12.84:1).
About this color
#5B173D is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.107 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.037 away. White text reads best on it, at 12.84:1.
| Hue family | Reds |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.107) |
| Temperature | warm |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.63:1 |
| White text | 12.84:1 |
Values
| HEX | #5B173D |
| RGB | rgb(91, 23, 61) |
| HSL | hsl(326, 60%, 22%) |
| OKLCH | oklch(33.1% 0.107 350.2) |
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 #5B173D | 12.84:1 | AAA | Lc -101.6 | Preferred for body text |
| Black text on #5B173D | 1.63:1 | Fails | Lc 0.0 | Not readable |
| #5B173D text on white | 12.84:1 | AAA | Lc 98.2 | Preferred for body text |
| #5B173D text on black | 1.63: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
#FCF3F6
oklch(97.2% 0.01 354.9)
-
Step 100
100
#F7E4EC
oklch(93.6% 0.023 350.1)
-
Step 200
200
#F1CEDD
oklch(88.5% 0.044 350.3)
-
Step 300
300
#E9ACC8
oklch(80.9% 0.08 349.8)
-
Step 400
400
#DC7DAC
oklch(70.7% 0.13 349.9)
-
Step 500
500
#CF5997
oklch(63.1% 0.164 350.1)
-
Step 600
600
#BA3A81
oklch(55.5% 0.178 350.3)
-
Step 700
700
#A02B6D
oklch(49.1% 0.165 350.3)
-
Step 800
800
#822559
oklch(42.6% 0.138 350.1)
-
Step 900
900 (this color)
#5B173D
oklch(33.1% 0.107 350.2)
-
Step 950
950
#3E162B
oklch(27% 0.069 350)
#5B173D 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) | #212A3E | 0.119 |
| Deuteranopia (no green cones) | #35363B | 0.105 |
| Tritanopia (no blue cones) | #621327 | 0.040 |
| Achromatopsia (no color) | #323232 | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B173D
#5B173D
oklch(33.1% 0.107 350.2)
- #004030
#004030
oklch(33% 0.066 169.7)
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 #5B173D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.037
- Burgundy #610023 ΔE 0.046
- Merlot #730039 ΔE 0.053
- Plum Purple #4E0550 ΔE 0.061
- Deep Violet #490648 ΔE 0.062
- Claret #680018 ΔE 0.063
- Velvet #750851 ΔE 0.065
- Rich Purple #720058 ΔE 0.070
Use #5B173D 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.