#4E237F
Closest named color: Indigo (#4B0082). oklch(36.9% 0.147 300.7), rgb(78, 35, 127).
Aa
White text reads best on this color (11.22:1).
About this color
#4E237F is a dark, vivid purple. In OKLCH its lightness is 37%, its chroma 0.147 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.044 away. White text reads best on it, at 11.22:1.
| Hue family | Purples |
| Lightness | dark (37%) |
| Chroma | vivid (0.147) |
| Temperature | in between |
| Nearest name | Indigo (#4B0082) |
| Black text | 1.87:1 |
| White text | 11.22:1 |
Values
| HEX | #4E237F |
| RGB | rgb(78, 35, 127) |
| HSL | hsl(268, 57%, 32%) |
| OKLCH | oklch(36.9% 0.147 300.7) |
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 #4E237F | 11.22:1 | AAA | Lc -99.1 | Preferred for body text |
| Black text on #4E237F | 1.87:1 | Fails | Lc 8.6 | Not readable |
| #4E237F text on white | 11.22:1 | AAA | Lc 95.3 | Preferred for body text |
| #4E237F text on black | 1.87:1 | Fails | Lc -7.4 | 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
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EDE5FC
oklch(93.5% 0.032 301.6)
-
Step 200
200
#DFD1FC
oklch(88.6% 0.06 300)
-
Step 300
300
#CCB0FD
oklch(80.9% 0.11 300.7)
-
Step 400
400
#B482FC
oklch(70.7% 0.177 300.9)
-
Step 500
500
#A25CF9
oklch(63.1% 0.225 300.6)
-
Step 600
600
#8F39E8
oklch(55.7% 0.244 300.9)
-
Step 700
700
#7A28CA
oklch(49.2% 0.228 300.8)
-
Step 800
800
#6324A3
oklch(42.7% 0.189 301)
-
Step 900
900 (this color)
#4E237F
oklch(36.9% 0.147 300.7)
-
Step 950
950
#2F184C
oklch(27.1% 0.093 300.7)
#4E237F 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) | #003A82 | 0.104 |
| Deuteranopia (no green cones) | #003A7D | 0.105 |
| Tritanopia (no blue cones) | #43394E | 0.109 |
| Achromatopsia (no color) | #3B3B3B | 0.148 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E237F
#4E237F
oklch(36.9% 0.147 300.7)
- #394600
#394600
oklch(36.9% 0.089 120.9)
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 #4E237F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo #4B0082 ΔE 0.044
- Royal Purple #4B006E ΔE 0.057
- Dark Slate Blue #483D8B ΔE 0.061
- Rebecca Purple #663399 ΔE 0.073
- Imperial Purple #480CA8 ΔE 0.074
- Blueberry #464196 ΔE 0.076
- Chrysanthemum #560BAD ΔE 0.079
- Grape Purple #5D1451 ΔE 0.089
Use #4E237F 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.