#3A1C71
Closest named color: Royal Purple (#4B006E). oklch(32.4% 0.137 293.4), rgb(58, 28, 113).
Aa
White text reads best on this color (13.25:1).
About this color
#3A1C71 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.137 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.049 away. White text reads best on it, at 13.25:1.
| Hue family | Purples |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.137) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.58:1 |
| White text | 13.25:1 |
Values
| HEX | #3A1C71 |
| RGB | rgb(58, 28, 113) |
| HSL | hsl(261, 60%, 28%) |
| OKLCH | oklch(32.4% 0.137 293.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 #3A1C71 | 13.25:1 | AAA | Lc -102.3 | Preferred for body text |
| Black text on #3A1C71 | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #3A1C71 text on white | 13.25:1 | AAA | Lc 99.0 | Preferred for body text |
| #3A1C71 text on black | 1.58:1 | Fails | Lc 0.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
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EAE7FC
oklch(93.7% 0.028 292.4)
-
Step 200
200
#DAD3FC
oklch(88.5% 0.056 293)
-
Step 300
300
#C3B4FD
oklch(80.8% 0.103 293.4)
-
Step 400
400
#A68AFC
oklch(70.7% 0.163 293.1)
-
Step 500
500
#9367F9
oklch(63.1% 0.208 293.4)
-
Step 600
600
#7F47E8
oklch(55.5% 0.228 293.5)
-
Step 700
700
#6C37CA
oklch(49.1% 0.212 293.5)
-
Step 800
800
#572FA3
oklch(42.6% 0.175 293.3)
-
Step 900
900 (this color)
#3A1C71
oklch(32.4% 0.137 293.4)
-
Step 950
950
#291B4C
oklch(27% 0.087 292.8)
#3A1C71 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) | #003173 | 0.080 |
| Deuteranopia (no green cones) | #002E6F | 0.078 |
| Tritanopia (no blue cones) | #2A3244 | 0.108 |
| Achromatopsia (no color) | #303030 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A1C71
#3A1C71
oklch(32.4% 0.137 293.4)
- #343700
#343700
oklch(32.3% 0.072 113.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #3A1C71
These curated palettes and gradients contain exactly #3A1C71. Open one to see the full color scheme around it.
Palettes
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.049
- Indigo #4B0082 ΔE 0.051
- Midnight Blue #191970 ΔE 0.062
- Plum Purple #4E0550 ΔE 0.081
- Marine #042E60 ΔE 0.085
- Deep Violet #490648 ΔE 0.088
- Dark Indigo #1F0954 ΔE 0.088
- Marine Blue #01386A ΔE 0.091
Use #3A1C71 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.