#5F345A
Closest named color: Purple Brown (#673A3F). oklch(39.4% 0.083 331.4), rgb(95, 52, 90).
Aa
White text reads best on this color (9.88:1).
About this color
#5F345A is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.083 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.056 away. White text reads best on it, at 9.88:1.
| Hue family | Purples |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.12:1 |
| White text | 9.88:1 |
Values
| HEX | #5F345A |
| RGB | rgb(95, 52, 90) |
| HSL | hsl(307, 29%, 29%) |
| OKLCH | oklch(39.4% 0.083 331.4) |
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 #5F345A | 9.88:1 | AAA | Lc -96.9 | Preferred for body text |
| Black text on #5F345A | 2.12:1 | Fails | Lc 11.2 | Not readable |
| #5F345A text on white | 9.88:1 | AAA | Lc 92.7 | Preferred for body text |
| #5F345A text on black | 2.12:1 | Fails | Lc -9.8 | 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
#F1E6EF
oklch(93.6% 0.017 331.6)
-
Step 200
200
#E7D1E4
oklch(88.4% 0.035 330.3)
-
Step 300
300
#D9B2D3
oklch(80.8% 0.063 331.4)
-
Step 400
400
#C589BD
oklch(70.6% 0.1 331.3)
-
Step 500
500
#B56BAC
oklch(63.1% 0.127 331.5)
-
Step 600
600
#A05198
oklch(55.6% 0.139 331.1)
-
Step 700
700
#894181
oklch(49.1% 0.129 331.7)
-
Step 800
800
#6F3669
oklch(42.6% 0.107 331.3)
-
Step 900
900 (this color)
#5F345A
oklch(39.4% 0.083 331.4)
-
Step 950
950
#351C32
oklch(27% 0.053 331.4)
#5F345A 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) | #333F5B | 0.080 |
| Deuteranopia (no green cones) | #3E4559 | 0.073 |
| Tritanopia (no blue cones) | #623743 | 0.043 |
| Achromatopsia (no color) | #434343 | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F345A
#5F345A
oklch(39.4% 0.083 331.4)
- #1D522E
#1D522E
oklch(39.3% 0.083 151.2)
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 #5F345A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.056
- Grape Purple #5D1451 ΔE 0.069
- Brownish Purple #76424E ΔE 0.070
- Velvet #750851 ΔE 0.078
- Rich Purple #720058 ΔE 0.083
- Charcoal Grey #3C4142 ΔE 0.089
- Merlot #730039 ΔE 0.090
- Red Purple #820747 ΔE 0.091
Use #5F345A 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.