#5C4175
Closest named color: Twilight (#4E518B). oklch(42.8% 0.089 306.9), rgb(92, 65, 117).
Aa
White text reads best on this color (8.50:1).
About this color
#5C4175 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.089 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.054 away. White text reads best on it, at 8.50:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.089) |
| Temperature | in between |
| Nearest name | Twilight (#4E518B) |
| Black text | 2.46:1 |
| White text | 8.50:1 |
Values
| HEX | #5C4175 |
| RGB | rgb(92, 65, 117) |
| HSL | hsl(271, 29%, 36%) |
| OKLCH | oklch(42.8% 0.089 306.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 #5C4175 | 8.50:1 | AAA | Lc -93.7 | Preferred for body text |
| Black text on #5C4175 | 2.46:1 | Fails | Lc 14.8 | Not readable |
| #5C4175 text on white | 8.50:1 | AAA | Lc 89.2 | Fine for body text |
| #5C4175 text on black | 2.46:1 | Fails | Lc -13.1 | 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 800.
-
Step 50
50
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#ECE7F2
oklch(93.5% 0.016 306.4)
-
Step 200
200
#DED5E8
oklch(88.6% 0.027 307)
-
Step 300
300
#C9B8DB
oklch(80.8% 0.052 307.1)
-
Step 400
400
#AE93C9
oklch(70.6% 0.083 307.2)
-
Step 500
500
#9A78BC
oklch(63.1% 0.106 306.5)
-
Step 600
600
#8560A8
oklch(55.7% 0.115 306.7)
-
Step 700
700
#714F90
oklch(49.2% 0.107 307)
-
Step 800
800 (this color)
#5C4175
oklch(42.8% 0.089 306.9)
-
Step 900
900
#4B375E
oklch(37.6% 0.069 306.9)
-
Step 950
950
#2C2137
oklch(27.1% 0.042 306.7)
#5C4175 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) | #354C77 | 0.065 |
| Deuteranopia (no green cones) | #3B4D74 | 0.060 |
| Tritanopia (no blue cones) | #584955 | 0.065 |
| Achromatopsia (no color) | #4D4D4D | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5C4175
#5C4175
oklch(42.8% 0.089 306.9)
- #42581C
#42581C
oklch(42.8% 0.089 127)
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 #5C4175, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight #4E518B ΔE 0.054
- Dark Slate Blue #483D8B ΔE 0.054
- Dusk #4E5481 ΔE 0.055
- Dusty Grape #545775 ΔE 0.063
- Blueberry #464196 ΔE 0.067
- Rebecca Purple #663399 ΔE 0.073
- YInMn Blue #415A77 ΔE 0.079
- Brownish Purple #76424E ΔE 0.082
Use #5C4175 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.