#5F147D
Closest named color: Indigo (#4B0082). oklch(37.5% 0.166 313.5), rgb(95, 20, 125).
Aa
White text reads best on this color (11.15:1).
About this color
#5F147D is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.166 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.052 away. White text reads best on it, at 11.15:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Indigo (#4B0082) |
| Black text | 1.88:1 |
| White text | 11.15:1 |
Values
| HEX | #5F147D |
| RGB | rgb(95, 20, 125) |
| HSL | hsl(283, 72%, 28%) |
| OKLCH | oklch(37.5% 0.166 313.5) |
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 #5F147D | 11.15:1 | AAA | Lc -98.5 | Preferred for body text |
| Black text on #5F147D | 1.88:1 | Fails | Lc 9.3 | Not readable |
| #5F147D text on white | 11.15:1 | AAA | Lc 94.6 | Preferred for body text |
| #5F147D text on black | 1.88:1 | Fails | Lc -8.0 | 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
#F9F2FE
oklch(97% 0.017 311.6)
-
Step 100
100
#F3E3FB
oklch(93.6% 0.036 314.6)
-
Step 200
200
#EACCFA
oklch(88.5% 0.07 313.9)
-
Step 300
300
#DDA8F9
oklch(80.8% 0.124 313.5)
-
Step 400
400
#CC74F6
oklch(70.7% 0.199 313.7)
-
Step 500
500
#BE43F2
oklch(63.1% 0.255 313.6)
-
Step 600
600
#AA00E0
oklch(55.6% 0.276 313.7)
-
Step 700
700
#8F00BE
oklch(49.1% 0.244 313.5)
-
Step 800
800
#76009D
oklch(42.7% 0.212 313.7)
-
Step 900
900 (this color)
#5F147D
oklch(37.5% 0.166 313.5)
-
Step 950
950
#38104A
oklch(27.1% 0.105 313.2)
#5F147D 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) | #003880 | 0.143 |
| Deuteranopia (no green cones) | #043D7B | 0.145 |
| Tritanopia (no blue cones) | #5C2E4A | 0.107 |
| Achromatopsia (no color) | #3B3B3B | 0.168 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F147D
#5F147D
oklch(37.5% 0.166 313.5)
- #284C00
#284C00
oklch(37.4% 0.106 133.4)
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 #5F147D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo #4B0082 ΔE 0.052
- Royal Purple #4B006E ΔE 0.057
- Purple #800080 ΔE 0.070
- Rebecca Purple #663399 ΔE 0.071
- Grape Purple #5D1451 ΔE 0.076
- Rich Purple #720058 ΔE 0.079
- Chrysanthemum #560BAD ΔE 0.085
- Plum Purple #4E0550 ΔE 0.087
Use #5F147D 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.