#3A1A5D
Closest named color: Royal Purple (#4B006E). oklch(30.3% 0.114 301.8), rgb(58, 26, 93).
Aa
White text reads best on this color (14.13:1).
About this color
#3A1A5D is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.114 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.054 away. White text reads best on it, at 14.13:1.
| Hue family | Purples |
| Lightness | dark (30%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.48:1 |
| White text | 14.13:1 |
Values
| HEX | #3A1A5D |
| RGB | rgb(58, 26, 93) |
| HSL | hsl(269, 56%, 23%) |
| OKLCH | oklch(30.3% 0.114 301.8) |
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 #3A1A5D | 14.13:1 | AAA | Lc -103.5 | Preferred for body text |
| Black text on #3A1A5D | 1.48:1 | Fails | Lc 0.0 | Not readable |
| #3A1A5D text on white | 14.13:1 | AAA | Lc 100.4 | Preferred for body text |
| #3A1A5D text on black | 1.48: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 950.
-
Step 50
50
#F7F3FF
oklch(97.1% 0.016 301.2)
-
Step 100
100
#EEE5FF
oklch(93.7% 0.036 301.4)
-
Step 200
200
#E1CFFF
oklch(88.5% 0.068 302.1)
-
Step 300
300
#CEAFFF
oklch(80.9% 0.115 301.7)
-
Step 400
400
#B780FF
oklch(70.8% 0.184 301.9)
-
Step 500
500
#A755FF
oklch(63.1% 0.241 302)
-
Step 600
600
#9700FD
oklch(55.5% 0.294 301.7)
-
Step 700
700
#8000D7
oklch(49.2% 0.26 301.9)
-
Step 800
800
#6900B2
oklch(42.7% 0.226 301.8)
-
Step 900
900
#55148E
oklch(37.6% 0.18 301.8)
-
Step 950
950 (this color)
#3A1A5D
oklch(30.3% 0.114 301.8)
#3A1A5D 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) | #002B5F | 0.085 |
| Deuteranopia (no green cones) | #002B5C | 0.085 |
| Tritanopia (no blue cones) | #332939 | 0.084 |
| Achromatopsia (no color) | #2B2B2B | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A1A5D
#3A1A5D
oklch(30.3% 0.114 301.8)
- #293400
#293400
oklch(30.4% 0.073 121.7)
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 #3A1A5D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.054
- Plum Purple #4E0550 ΔE 0.057
- Deep Violet #490648 ΔE 0.058
- Eggplant Purple #430541 ΔE 0.064
- Dark Purple #35063E ΔE 0.069
- Deep Purple #36013F ΔE 0.072
- Midnight Blue #191970 ΔE 0.072
- Dark Indigo #1F0954 ΔE 0.072
Use #3A1A5D 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.