#5F385D
Closest named color: Purple Brown (#673A3F). oklch(40.2% 0.078 328.7), rgb(95, 56, 93).
Aa
White text reads best on this color (9.50:1).
About this color
#5F385D is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.078 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.055 away. White text reads best on it, at 9.50:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.078) |
| Temperature | in between |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.21:1 |
| White text | 9.50:1 |
Values
| HEX | #5F385D |
| RGB | rgb(95, 56, 93) |
| HSL | hsl(303, 26%, 30%) |
| OKLCH | oklch(40.2% 0.078 328.7) |
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 #5F385D | 9.50:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #5F385D | 2.21:1 | Fails | Lc 12.1 | Not readable |
| #5F385D text on white | 9.50:1 | AAA | Lc 91.8 | Preferred for body text |
| #5F385D text on black | 2.21:1 | Fails | Lc -10.6 | 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
#F8F4F7
oklch(97.1% 0.006 334)
-
Step 100
100
#EFE7EE
oklch(93.6% 0.013 329.6)
-
Step 200
200
#E3D3E2
oklch(88.4% 0.027 327.7)
-
Step 300
300
#D2B7CF
oklch(81% 0.045 329.6)
-
Step 400
400
#BA91B7
oklch(70.7% 0.072 328.7)
-
Step 500
500
#A975A5
oklch(63.2% 0.093 329.3)
-
Step 600
600
#945D91
oklch(55.7% 0.101 328.8)
-
Step 700
700
#7E4C7B
oklch(49.1% 0.095 329)
-
Step 800
800 (this color)
#5F385D
oklch(40.2% 0.078 328.7)
-
Step 900
900
#533652
oklch(37.8% 0.06 327.9)
-
Step 950
950
#312030
oklch(27.1% 0.038 328.6)
#5F385D 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) | #36425E | 0.074 |
| Deuteranopia (no green cones) | #40475C | 0.067 |
| Tritanopia (no blue cones) | #623B46 | 0.043 |
| Achromatopsia (no color) | #464646 | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F385D
#5F385D
oklch(40.2% 0.078 328.7)
- #265430
#265430
oklch(40.3% 0.079 148.9)
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 #5F385D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.055
- Brownish Purple #76424E ΔE 0.065
- Grape Purple #5D1451 ΔE 0.079
- Velvet #750851 ΔE 0.086
- Dark Slate Blue #483D8B ΔE 0.087
- Dusty Grape #545775 ΔE 0.087
- Charcoal Grey #3C4142 ΔE 0.087
- Dusk #4E5481 ΔE 0.088
Use #5F385D 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.