#5F3077
Closest named color: Rebecca Purple (#663399). oklch(40.3% 0.123 312.7), rgb(95, 48, 119).
Aa
White text reads best on this color (9.65:1).
About this color
#5F3077 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.123 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.057 away. White text reads best on it, at 9.65:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.17:1 |
| White text | 9.65:1 |
Values
| HEX | #5F3077 |
| RGB | rgb(95, 48, 119) |
| HSL | hsl(280, 43%, 33%) |
| OKLCH | oklch(40.3% 0.123 312.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 #5F3077 | 9.65:1 | AAA | Lc -96.2 | Preferred for body text |
| Black text on #5F3077 | 2.17:1 | Fails | Lc 12.0 | Not readable |
| #5F3077 text on white | 9.65:1 | AAA | Lc 92.0 | Preferred for body text |
| #5F3077 text on black | 2.17:1 | Fails | Lc -10.4 | 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
#F8F4FA
oklch(97.2% 0.009 314.8)
-
Step 100
100
#EFE6F4
oklch(93.6% 0.021 313.8)
-
Step 200
200
#E2D2EC
oklch(88.5% 0.039 312.6)
-
Step 300
300
#D1B4E2
oklch(81% 0.071 313)
-
Step 400
400
#B98BD4
oklch(70.7% 0.115 312.4)
-
Step 500
500
#A86CC8
oklch(63.1% 0.147 312.9)
-
Step 600
600
#9352B5
oklch(55.7% 0.159 312.7)
-
Step 700
700
#7D429C
oklch(49.2% 0.148 312.5)
-
Step 800
800 (this color)
#5F3077
oklch(40.3% 0.123 312.7)
-
Step 900
900
#533065
oklch(37.7% 0.096 313.1)
-
Step 950
950
#311D3B
oklch(27.1% 0.06 313.7)
#5F3077 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) | #1B4279 | 0.108 |
| Deuteranopia (no green cones) | #2C4675 | 0.097 |
| Tritanopia (no blue cones) | #5D3C4E | 0.084 |
| Achromatopsia (no color) | #454545 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F3077
#5F3077
oklch(40.3% 0.123 312.7)
- #2F5400
#2F5400
oklch(40.2% 0.113 132.5)
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 #5F3077, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.057
- Dark Slate Blue #483D8B ΔE 0.058
- Blueberry #464196 ΔE 0.074
- Grape Purple #5D1451 ΔE 0.079
- Purple #800080 ΔE 0.084
- Rich Purple #720058 ΔE 0.085
- Twilight #4E518B ΔE 0.088
- Velvet #750851 ΔE 0.090
Use #5F3077 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.