#401D45
Closest named color: Deep Violet (#490648). oklch(29.8% 0.082 322.5), rgb(64, 29, 69).
Aa
White text reads best on this color (14.19:1).
About this color
#401D45 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.082 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.044 away. White text reads best on it, at 14.19:1.
| Hue family | Purples |
| Lightness | dark (30%) |
| Chroma | moderately saturated (0.082) |
| Temperature | in between |
| Nearest name | Deep Violet (#490648) |
| Black text | 1.47:1 |
| White text | 14.19:1 |
Values
| HEX | #401D45 |
| RGB | rgb(64, 29, 69) |
| HSL | hsl(293, 41%, 19%) |
| OKLCH | oklch(29.8% 0.082 322.5) |
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 #401D45 | 14.19:1 | AAA | Lc -103.7 | Preferred for body text |
| Black text on #401D45 | 1.47:1 | Fails | Lc 0.0 | Not readable |
| #401D45 text on white | 14.19:1 | AAA | Lc 100.6 | Preferred for body text |
| #401D45 text on black | 1.47: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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F5
oklch(93.6% 0.028 322.2)
-
Step 200
200
#EBCEEE
oklch(88.5% 0.053 323.1)
-
Step 300
300
#DFACE6
oklch(81% 0.097 322.4)
-
Step 400
400
#CD7DD9
oklch(70.7% 0.155 322.2)
-
Step 500
500
#BF57CE
oklch(63.2% 0.197 322.5)
-
Step 600
600
#AA35BB
oklch(55.6% 0.215 322.3)
-
Step 700
700
#9226A1
oklch(49.2% 0.2 322.5)
-
Step 800
800
#772282
oklch(42.7% 0.166 322.9)
-
Step 900
900
#602369
oklch(37.8% 0.129 322.3)
-
Step 950
950 (this color)
#401D45
oklch(29.8% 0.082 322.5)
#401D45 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) | #172846 | 0.077 |
| Deuteranopia (no green cones) | #222C44 | 0.068 |
| Tritanopia (no blue cones) | #41222E | 0.048 |
| Achromatopsia (no color) | #2B2B2B | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #401D45
#401D45
oklch(29.8% 0.082 322.5)
- #0F370D
#0F370D
oklch(29.8% 0.082 142.5)
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 #401D45, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Violet #490648 ΔE 0.044
- Eggplant Purple #430541 ΔE 0.045
- Aubergine #3D0734 ΔE 0.052
- Plum Purple #4E0550 ΔE 0.052
- Eggplant #380835 ΔE 0.056
- Dark Purple #35063E ΔE 0.058
- Space Cadet #2B2D42 ΔE 0.060
- Deep Purple #36013F ΔE 0.065
Use #401D45 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.