#3A277E
Closest named color: Indigo (#4B0082). oklch(35.2% 0.139 286.9), rgb(58, 39, 126).
Aa
White text reads best on this color (11.85:1).
About this color
#3A277E is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.139 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.058 away. White text reads best on it, at 11.85:1.
| Hue family | Purples |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.139) |
| Temperature | cool |
| Nearest name | Indigo (#4B0082) |
| Black text | 1.77:1 |
| White text | 11.85:1 |
Values
| HEX | #3A277E |
| RGB | rgb(58, 39, 126) |
| HSL | hsl(253, 53%, 32%) |
| OKLCH | oklch(35.2% 0.139 286.9) |
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 #3A277E | 11.85:1 | AAA | Lc -100.3 | Preferred for body text |
| Black text on #3A277E | 1.77:1 | Fails | Lc 0.0 | Not readable |
| #3A277E text on white | 11.85:1 | AAA | Lc 96.7 | Preferred for body text |
| #3A277E text on black | 1.77: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
#F4F4FF
oklch(97% 0.015 286.1)
-
Step 100
100
#E8E7FE
oklch(93.6% 0.031 287.8)
-
Step 200
200
#D6D4FE
oklch(88.5% 0.058 287.3)
-
Step 300
300
#BCB7FF
oklch(80.9% 0.101 287.1)
-
Step 400
400
#9B8EFF
oklch(70.7% 0.161 286.8)
-
Step 500
500
#866CFF
oklch(63.2% 0.209 286.9)
-
Step 600
600
#724CF0
oklch(55.6% 0.231 286.9)
-
Step 700
700
#603BD1
oklch(49.1% 0.215 286.8)
-
Step 800
800
#4E32A9
oklch(42.6% 0.179 286.9)
-
Step 900
900 (this color)
#3A277E
oklch(35.2% 0.139 286.9)
-
Step 950
950
#251C4E
oklch(26.9% 0.088 287.2)
#3A277E 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) | #003981 | 0.069 |
| Deuteranopia (no green cones) | #00357C | 0.067 |
| Tritanopia (no blue cones) | #203D4F | 0.115 |
| Achromatopsia (no color) | #373737 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A277E
#3A277E
oklch(35.2% 0.139 286.9)
- #403D00
#403D00
oklch(35.2% 0.075 106.6)
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 #3A277E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo #4B0082 ΔE 0.058
- Dark Slate Blue #483D8B ΔE 0.064
- Royal Purple #4B006E ΔE 0.071
- Midnight Blue #191970 ΔE 0.073
- Imperial Purple #480CA8 ΔE 0.077
- Blueberry #464196 ΔE 0.078
- Marine Blue #01386A ΔE 0.081
- Twilight Blue #0A437A ΔE 0.084
Use #3A277E 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.