#4E398D
Closest named color: Dark Slate Blue (#483D8B). oklch(41.4% 0.133 290.9), rgb(78, 57, 141).
Aa
White text reads best on this color (9.15:1).
About this color
#4E398D is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.133 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.014 away. White text reads best on it, at 9.15:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.133) |
| Temperature | in between |
| Nearest name | Dark Slate Blue (#483D8B) |
| Black text | 2.29:1 |
| White text | 9.15:1 |
Values
| HEX | #4E398D |
| RGB | rgb(78, 57, 141) |
| HSL | hsl(255, 42%, 39%) |
| OKLCH | oklch(41.4% 0.133 290.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 #4E398D | 9.15:1 | AAA | Lc -95.2 | Preferred for body text |
| Black text on #4E398D | 2.29:1 | Fails | Lc 13.2 | Not readable |
| #4E398D text on white | 9.15:1 | AAA | Lc 90.8 | Preferred for body text |
| #4E398D text on black | 2.29:1 | Fails | Lc -11.6 | 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 800.
-
Step 50
50
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#E9E8F8
oklch(93.6% 0.021 288.9)
-
Step 200
200
#D8D5F4
oklch(88.5% 0.042 289.9)
-
Step 300
300
#C0B8F0
oklch(80.8% 0.079 291.1)
-
Step 400
400
#A192E8
oklch(70.7% 0.124 290.9)
-
Step 500
500
#8B74E1
oklch(63% 0.159 290.8)
-
Step 600
600
#775ACF
oklch(55.6% 0.173 291.1)
-
Step 700
700
#6449B3
oklch(49.1% 0.161 291)
-
Step 800
800 (this color)
#4E398D
oklch(41.4% 0.133 290.9)
-
Step 900
900
#433574
oklch(37.8% 0.104 290.8)
-
Step 950
950
#271F44
oklch(26.9% 0.067 291.2)
#4E398D 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) | #004990 | 0.083 |
| Deuteranopia (no green cones) | #08468B | 0.080 |
| Tritanopia (no blue cones) | #3C4C5D | 0.109 |
| Achromatopsia (no color) | #484848 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E398D
#4E398D
oklch(41.4% 0.133 290.9)
- #4E4F00
#4E4F00
oklch(41.3% 0.091 110.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 #4E398D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Blue #483D8B ΔE 0.014
- Blueberry #464196 ΔE 0.026
- Rebecca Purple #663399 ΔE 0.049
- Twilight #4E518B ΔE 0.064
- Cobalt #1E488F ΔE 0.069
- Dusk #4E5481 ΔE 0.079
- Dusk Blue #26538D ΔE 0.081
- Sapphire #2138AB ΔE 0.081
Use #4E398D 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.