#5F335C
Closest named color: Purple Brown (#673A3F). oklch(39.3% 0.087 329.6), rgb(95, 51, 92).
Aa
White text reads best on this color (9.93:1).
About this color
#5F335C is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.087 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.061 away. White text reads best on it, at 9.93:1.
| Hue family | Purples |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.087) |
| Temperature | in between |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.11:1 |
| White text | 9.93:1 |
Values
| HEX | #5F335C |
| RGB | rgb(95, 51, 92) |
| HSL | hsl(304, 30%, 29%) |
| OKLCH | oklch(39.3% 0.087 329.6) |
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 #5F335C | 9.93:1 | AAA | Lc -97.0 | Preferred for body text |
| Black text on #5F335C | 2.11:1 | Fails | Lc 11.1 | Not readable |
| #5F335C text on white | 9.93:1 | AAA | Lc 92.8 | Preferred for body text |
| #5F335C text on black | 2.11:1 | Fails | Lc -9.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
#F9F3F8
oklch(97% 0.009 330.9)
-
Step 100
100
#F1E6F0
oklch(93.6% 0.018 328.5)
-
Step 200
200
#E7D1E5
oklch(88.5% 0.036 328.7)
-
Step 300
300
#D9B2D5
oklch(80.9% 0.065 329.5)
-
Step 400
400
#C589C0
oklch(70.8% 0.103 329.5)
-
Step 500
500
#B56AB0
oklch(63.1% 0.132 329.4)
-
Step 600
600
#A04F9C
oklch(55.5% 0.146 329.2)
-
Step 700
700
#894085
oklch(49.1% 0.134 329.5)
-
Step 800
800
#6F356C
oklch(42.6% 0.111 329.3)
-
Step 900
900 (this color)
#5F335C
oklch(39.3% 0.087 329.6)
-
Step 950
950
#351C33
oklch(27% 0.054 329.9)
#5F335C 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) | #313F5D | 0.084 |
| Deuteranopia (no green cones) | #3D455B | 0.076 |
| Tritanopia (no blue cones) | #623743 | 0.048 |
| Achromatopsia (no color) | #434343 | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F335C
#5F335C
oklch(39.3% 0.087 329.6)
- #1C522B
#1C522B
oklch(39.2% 0.087 149.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 #5F335C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.061
- Grape Purple #5D1451 ΔE 0.066
- Brownish Purple #76424E ΔE 0.073
- Velvet #750851 ΔE 0.076
- Rich Purple #720058 ΔE 0.080
- Dark Slate Blue #483D8B ΔE 0.089
- Merlot #730039 ΔE 0.090
- Red Purple #820747 ΔE 0.090
Use #5F335C 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.