#42406A
Closest named color: Dark Grey Blue (#29465B). oklch(39.3% 0.07 284.9), rgb(66, 64, 106).
Aa
White text reads best on this color (9.66:1).
About this color
#42406A is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.070 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.050 away. White text reads best on it, at 9.66:1.
| Hue family | Purples |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.070) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.17:1 |
| White text | 9.66:1 |
Values
| HEX | #42406A |
| RGB | rgb(66, 64, 106) |
| HSL | hsl(243, 25%, 33%) |
| OKLCH | oklch(39.3% 0.07 284.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 #42406A | 9.66:1 | AAA | Lc -96.6 | Preferred for body text |
| Black text on #42406A | 2.17:1 | Fails | Lc 11.6 | Not readable |
| #42406A text on white | 9.66:1 | AAA | Lc 92.3 | Preferred for body text |
| #42406A text on black | 2.17:1 | Fails | Lc -10.1 | 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
#D6D7EC
oklch(88.5% 0.029 283.6)
-
Step 300
300
#BCBDE2
oklch(81% 0.052 284)
-
Step 400
400
#9B9AD4
oklch(70.9% 0.084 284.8)
-
Step 500
500
#8380C8
oklch(63.2% 0.107 284.8)
-
Step 600
600
#6D68B5
oklch(55.7% 0.117 284.9)
-
Step 700
700
#5B569B
oklch(49% 0.108 285)
-
Step 800
800
#4A477E
oklch(42.7% 0.09 284.4)
-
Step 900
900 (this color)
#42406A
oklch(39.3% 0.07 284.9)
-
Step 950
950
#24233B
oklch(26.9% 0.044 284.9)
#42406A 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) | #33466C | 0.026 |
| Deuteranopia (no green cones) | #314369 | 0.026 |
| Tritanopia (no blue cones) | #374850 | 0.060 |
| Achromatopsia (no color) | #454545 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #42406A
#42406A
oklch(39.3% 0.07 284.9)
- #4C4815
#4C4815
oklch(39.4% 0.07 104.8)
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 #42406A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.050
- Dark Slate Blue #483D8B ΔE 0.059
- Twilight Blue #0A437A ΔE 0.063
- Charcoal #264653 ΔE 0.063
- Dusk #4E5481 ΔE 0.068
- Light Navy #155084 ΔE 0.069
- Twilight #4E518B ΔE 0.071
- Charcoal Grey #3C4142 ΔE 0.072
Use #42406A 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.