#5A314E
Closest named color: Purple Brown (#673A3F). oklch(37.6% 0.073 338.9), rgb(90, 49, 78).
Aa
White text reads best on this color (10.58:1).
About this color
#5A314E is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.073 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.051 away. White text reads best on it, at 10.58:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.073) |
| Temperature | warm |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 1.98:1 |
| White text | 10.58:1 |
Values
| HEX | #5A314E |
| RGB | rgb(90, 49, 78) |
| HSL | hsl(318, 29%, 27%) |
| OKLCH | oklch(37.6% 0.073 338.9) |
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 #5A314E | 10.58:1 | AAA | Lc -98.3 | Preferred for body text |
| Black text on #5A314E | 1.98:1 | Fails | Lc 9.6 | Not readable |
| #5A314E text on white | 10.58:1 | AAA | Lc 94.3 | Preferred for body text |
| #5A314E text on black | 1.98:1 | Fails | Lc -8.2 | 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
#F9F4F7
oklch(97.2% 0.007 340.4)
-
Step 100
100
#F1E6ED
oklch(93.6% 0.015 338.9)
-
Step 200
200
#E7D2E0
oklch(88.5% 0.03 337.9)
-
Step 300
300
#D9B4CC
oklch(81% 0.053 339.4)
-
Step 400
400
#C58BB3
oklch(70.6% 0.088 338.5)
-
Step 500
500
#B56EA0
oklch(63.1% 0.111 338.7)
-
Step 600
600
#A0558B
oklch(55.6% 0.12 338.7)
-
Step 700
700
#894576
oklch(49.2% 0.112 338.8)
-
Step 800
800
#6F3960
oklch(42.7% 0.093 338.6)
-
Step 900
900 (this color)
#5A314E
oklch(37.6% 0.073 338.9)
-
Step 950
950
#351D2E
oklch(27% 0.046 338.5)
#5A314E 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) | #323B4F | 0.075 |
| Deuteranopia (no green cones) | #3D414D | 0.068 |
| Tritanopia (no blue cones) | #5E323C | 0.033 |
| Achromatopsia (no color) | #3F3F3F | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A314E
#5A314E
oklch(37.6% 0.073 338.9)
- #164D33
#164D33
oklch(37.7% 0.073 159)
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 #5A314E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.051
- Grape Purple #5D1451 ΔE 0.064
- Charcoal Grey #3C4142 ΔE 0.077
- Brownish Purple #76424E ΔE 0.078
- Onyx #343A40 ΔE 0.080
- Velvet #750851 ΔE 0.081
- Merlot #730039 ΔE 0.084
- Rich Purple #720058 ΔE 0.088
Use #5A314E 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.