#5C285E
Closest named color: Grape Purple (#5D1451). oklch(37.2% 0.107 326), rgb(92, 40, 94).
Aa
White text reads best on this color (10.93:1).
About this color
#5C285E is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.107 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.041 away. White text reads best on it, at 10.93:1.
| Hue family | Purples |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.107) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.92:1 |
| White text | 10.93:1 |
Values
| HEX | #5C285E |
| RGB | rgb(92, 40, 94) |
| HSL | hsl(298, 40%, 26%) |
| OKLCH | oklch(37.2% 0.107 326) |
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 #5C285E | 10.93:1 | AAA | Lc -98.8 | Preferred for body text |
| Black text on #5C285E | 1.92:1 | Fails | Lc 9.0 | Not readable |
| #5C285E text on white | 10.93:1 | AAA | Lc 94.9 | Preferred for body text |
| #5C285E text on black | 1.92:1 | Fails | Lc -7.7 | 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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F2E5F2
oklch(93.6% 0.022 325.8)
-
Step 200
200
#E9CFE9
oklch(88.4% 0.045 326)
-
Step 300
300
#DCAFDD
oklch(80.9% 0.08 325.6)
-
Step 400
400
#CA83CB
oklch(70.7% 0.128 326.4)
-
Step 500
500
#BB61BE
oklch(63.2% 0.165 326.1)
-
Step 600
600
#A644AA
oklch(55.6% 0.179 326.1)
-
Step 700
700
#8E3592
oklch(49.1% 0.166 326)
-
Step 800
800
#732D76
oklch(42.6% 0.137 326)
-
Step 900
900 (this color)
#5C285E
oklch(37.2% 0.107 326)
-
Step 950
950
#371938
oklch(27% 0.068 326.1)
#5C285E 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) | #223860 | 0.105 |
| Deuteranopia (no green cones) | #323F5C | 0.094 |
| Tritanopia (no blue cones) | #5E2F3F | 0.062 |
| Achromatopsia (no color) | #3D3D3D | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5C285E
#5C285E
oklch(37.2% 0.107 326)
- #094E18
#094E18
oklch(37.1% 0.107 146)
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 #5C285E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.041
- Rich Purple #720058 ΔE 0.064
- Velvet #750851 ΔE 0.065
- Plum Purple #4E0550 ΔE 0.074
- Merlot #730039 ΔE 0.084
- Royal Purple #4B006E ΔE 0.085
- Deep Violet #490648 ΔE 0.085
- Purple Brown #673A3F ΔE 0.086
Use #5C285E 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.