#403F6A
Closest named color: Dark Grey Blue (#29465B). oklch(38.9% 0.072 283.6), rgb(64, 63, 106).
Aa
White text reads best on this color (9.82:1).
About this color
#403F6A is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.072 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.049 away. White text reads best on it, at 9.82:1.
| Hue family | Purples |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.072) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.13:1 |
| White text | 9.82:1 |
Values
| HEX | #403F6A |
| RGB | rgb(64, 63, 106) |
| HSL | hsl(241, 25%, 33%) |
| OKLCH | oklch(38.9% 0.072 283.6) |
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 #403F6A | 9.82:1 | AAA | Lc -96.9 | Preferred for body text |
| Black text on #403F6A | 2.13:1 | Fails | Lc 11.2 | Not readable |
| #403F6A text on white | 9.82:1 | AAA | Lc 92.7 | Preferred for body text |
| #403F6A text on black | 2.13:1 | Fails | Lc -9.7 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E8E9F4
oklch(93.6% 0.015 281.9)
-
Step 200
200
#D6D7ED
oklch(88.5% 0.03 283.7)
-
Step 300
300
#BBBDE3
oklch(80.9% 0.053 282.8)
-
Step 400
400
#999AD5
oklch(70.7% 0.086 283.2)
-
Step 500
500
#8180CA
oklch(63.2% 0.11 283.4)
-
Step 600
600
#6B68B7
oklch(55.6% 0.12 283.5)
-
Step 700
700
#59569D
oklch(49% 0.111 283.4)
-
Step 800
800
#494780
oklch(42.8% 0.093 283.3)
-
Step 900
900 (this color)
#403F6A
oklch(38.9% 0.072 283.6)
-
Step 950
950
#24233C
oklch(27% 0.046 284.7)
#403F6A 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) | #31456C | 0.026 |
| Deuteranopia (no green cones) | #2F4269 | 0.026 |
| Tritanopia (no blue cones) | #34474F | 0.062 |
| Achromatopsia (no color) | #434343 | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #403F6A
#403F6A
oklch(38.9% 0.072 283.6)
- #4C4610
#4C4610
oklch(38.9% 0.072 102.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 #403F6A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.049
- Dark Slate Blue #483D8B ΔE 0.059
- Twilight Blue #0A437A ΔE 0.060
- Charcoal #264653 ΔE 0.062
- Light Navy #155084 ΔE 0.069
- Prussian Blue #1D3557 ΔE 0.069
- Cobalt #1E488F ΔE 0.071
- Dusk #4E5481 ΔE 0.072
Use #403F6A 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.