#5B313F
Closest named color: Purple Brown (#673A3F). oklch(37.1% 0.064 359.3), rgb(91, 49, 63).
Aa
White text reads best on this color (10.73:1).
About this color
#5B313F is a dark, muted red. In OKLCH its lightness is 37%, its chroma 0.064 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.037 away. White text reads best on it, at 10.73:1.
| Hue family | Reds |
| Lightness | dark (37%) |
| Chroma | muted (0.064) |
| Temperature | warm |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 1.95:1 |
| White text | 10.73:1 |
Values
| HEX | #5B313F |
| RGB | rgb(91, 49, 63) |
| HSL | hsl(340, 30%, 27%) |
| OKLCH | oklch(37.1% 0.064 359.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 #5B313F | 10.73:1 | AAA | Lc -98.6 | Preferred for body text |
| Black text on #5B313F | 1.95:1 | Fails | Lc 9.2 | Not readable |
| #5B313F text on white | 10.73:1 | AAA | Lc 94.7 | Preferred for body text |
| #5B313F text on black | 1.95:1 | Fails | Lc -7.9 | 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
#F9F4F5
oklch(97.1% 0.006 3.3)
-
Step 100
100
#F2E6E9
oklch(93.5% 0.014 0.3)
-
Step 200
200
#E9D2D8
oklch(88.4% 0.027 0)
-
Step 300
300
#DCB4C0
oklch(80.9% 0.049 358.3)
-
Step 400
400
#C98D9F
oklch(70.8% 0.076 359.6)
-
Step 500
500
#B97088
oklch(63.1% 0.097 359.1)
-
Step 600
600
#A45771
oklch(55.5% 0.105 359.6)
-
Step 700
700
#8D475F
oklch(49.2% 0.098 359.6)
-
Step 800
800
#723B4E
oklch(42.7% 0.08 359)
-
Step 900
900 (this color)
#5B313F
oklch(37.1% 0.064 359.3)
-
Step 950
950
#361E26
oklch(27% 0.039 358.6)
#5B313F 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) | #37393F | 0.069 |
| Deuteranopia (no green cones) | #41413E | 0.065 |
| Tritanopia (no blue cones) | #612E36 | 0.018 |
| Achromatopsia (no color) | #3E3E3E | 0.064 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B313F
#5B313F
oklch(37.1% 0.064 359.3)
- #0A4B41
#0A4B41
oklch(37.2% 0.064 179.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 #5B313F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.037
- Charcoal Grey #3C4142 ΔE 0.069
- Onyx #343A40 ΔE 0.074
- Brownish Purple #76424E ΔE 0.075
- Grape Purple #5D1451 ΔE 0.079
- Chestnut #742802 ΔE 0.082
- Merlot #730039 ΔE 0.083
- Reddy Brown #6E1005 ΔE 0.085
Use #5B313F 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.