#3A154E
Closest named color: Eggplant Purple (#430541). oklch(28.4% 0.103 311.4), rgb(58, 21, 78).
Aa
White text reads best on this color (15.03:1).
About this color
#3A154E is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.103 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.039 away. White text reads best on it, at 15.03:1.
| Hue family | Purples |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.103) |
| Temperature | in between |
| Nearest name | Eggplant Purple (#430541) |
| Black text | 1.39:1 |
| White text | 15.03:1 |
Values
| HEX | #3A154E |
| RGB | rgb(58, 21, 78) |
| HSL | hsl(279, 58%, 19%) |
| OKLCH | oklch(28.4% 0.103 311.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 #3A154E | 15.03:1 | AAA | Lc -104.3 | Preferred for body text |
| Black text on #3A154E | 1.39:1 | Fails | Lc 0.0 | Not readable |
| #3A154E text on white | 15.03:1 | AAA | Lc 101.5 | Preferred for body text |
| #3A154E text on black | 1.39: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
#F9F3FE
oklch(97.2% 0.016 310.1)
-
Step 100
100
#F2E4FC
oklch(93.7% 0.035 311.4)
-
Step 200
200
#E8CDFB
oklch(88.5% 0.068 311.3)
-
Step 300
300
#DAAAFB
oklch(81% 0.122 310.9)
-
Step 400
400
#C876F8
oklch(70.7% 0.196 311.5)
-
Step 500
500
#B948F4
oklch(63% 0.25 311.3)
-
Step 600
600
#A511E3
oklch(55.6% 0.272 311.3)
-
Step 700
700
#8D00C3
oklch(49.2% 0.247 311.4)
-
Step 800
800
#73079F
oklch(42.6% 0.209 311.5)
-
Step 900
900
#5D187F
oklch(37.7% 0.164 311.3)
-
Step 950
950 (this color)
#3A154E
oklch(28.4% 0.103 311.4)
#3A154E 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) | #002550 | 0.093 |
| Deuteranopia (no green cones) | #0F274D | 0.083 |
| Tritanopia (no blue cones) | #38212F | 0.071 |
| Achromatopsia (no color) | #272727 | 0.104 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3A154E
#3A154E
oklch(28.4% 0.103 311.4)
- #1B3100
#1B3100
oklch(28.4% 0.078 131.3)
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 #3A154E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Eggplant Purple #430541 ΔE 0.039
- Deep Violet #490648 ΔE 0.040
- Dark Purple #35063E ΔE 0.042
- Deep Purple #36013F ΔE 0.046
- Plum Purple #4E0550 ΔE 0.048
- Eggplant #380835 ΔE 0.051
- Aubergine #3D0734 ΔE 0.053
- Royal Purple #4B006E ΔE 0.069
Use #3A154E 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.