#3E18A6
Closest named color: Indigo Blue (#3A18B1). oklch(37.8% 0.202 283.3), rgb(62, 24, 166).
Aa
White text reads best on this color (11.13:1).
About this color
#3E18A6 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.202 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Indigo Blue (#3A18B1), ΔE 0.020 away. White text reads best on it, at 11.13:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | vivid (0.202) |
| Temperature | cool |
| Nearest name | Indigo Blue (#3A18B1) |
| Black text | 1.88:1 |
| White text | 11.13:1 |
Values
| HEX | #3E18A6 |
| RGB | rgb(62, 24, 166) |
| HSL | hsl(256, 75%, 37%) |
| OKLCH | oklch(37.8% 0.202 283.3) |
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 #3E18A6 | 11.13:1 | AAA | Lc -98.3 | Preferred for body text |
| Black text on #3E18A6 | 1.88:1 | Fails | Lc 9.6 | Not readable |
| #3E18A6 text on white | 11.13:1 | AAA | Lc 94.3 | Preferred for body text |
| #3E18A6 text on black | 1.88:1 | Fails | Lc -8.2 | 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
#E6E8FF
oklch(93.6% 0.031 281.8)
-
Step 200
200
#D3D5FF
oklch(88.5% 0.058 283)
-
Step 300
300
#B7B9FF
oklch(80.9% 0.098 282.7)
-
Step 400
400
#9591FF
oklch(70.8% 0.158 283.2)
-
Step 500
500
#7E70FF
oklch(63.2% 0.205 283.3)
-
Step 600
600
#6B47FF
oklch(55.7% 0.254 283.3)
-
Step 700
700
#5E00FA
oklch(49.1% 0.29 283.4)
-
Step 800
800
#4C00D0
oklch(42.7% 0.252 283.1)
-
Step 900
900 (this color)
#3E18A6
oklch(37.8% 0.202 283.3)
-
Step 950
950
#231361
oklch(27% 0.128 283.2)
#3E18A6 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) | #0040AA | 0.084 |
| Deuteranopia (no green cones) | #0037A4 | 0.074 |
| Tritanopia (no blue cones) | #004662 | 0.163 |
| Achromatopsia (no color) | #3B3B3B | 0.203 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3E18A6
#3E18A6
oklch(37.8% 0.202 283.3)
- #4A4300
#4A4300
oklch(37.8% 0.079 102.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 #3E18A6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo Blue #3A18B1 ΔE 0.020
- Imperial Purple #480CA8 ΔE 0.021
- Chrysanthemum #560BAD ΔE 0.048
- Ultramarine #2000B1 ΔE 0.061
- Sapphire #2138AB ΔE 0.062
- Violet Blue #510AC9 ΔE 0.064
- Indigo #4B0082 ΔE 0.076
- Majorelle Blue #3F37C9 ΔE 0.080
Use #3E18A6 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.