#4C405F
Closest named color: Dark Grey Blue (#29465B). oklch(39.7% 0.053 301.8), rgb(76, 64, 95).
Aa
White text reads best on this color (9.51:1).
About this color
#4C405F is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.053 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.055 away. White text reads best on it, at 9.51:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | muted (0.053) |
| Temperature | in between |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.20:1 |
| White text | 9.51:1 |
Values
| HEX | #4C405F |
| RGB | rgb(76, 64, 95) |
| HSL | hsl(263, 19%, 31%) |
| OKLCH | oklch(39.7% 0.053 301.8) |
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 #4C405F | 9.51:1 | AAA | Lc -96.3 | Preferred for body text |
| Black text on #4C405F | 2.20:1 | Fails | Lc 11.9 | Not readable |
| #4C405F text on white | 9.51:1 | AAA | Lc 92.0 | Preferred for body text |
| #4C405F text on black | 2.20:1 | Fails | Lc -10.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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EBE8F0
oklch(93.6% 0.011 303.1)
-
Step 200
200
#DBD6E6
oklch(88.5% 0.022 300.2)
-
Step 300
300
#C5BBD7
oklch(80.9% 0.04 301.7)
-
Step 400
400
#A898C2
oklch(70.8% 0.063 302.2)
-
Step 500
500
#927EB3
oklch(63.1% 0.081 301.4)
-
Step 600
600
#7D669F
oklch(55.5% 0.09 302.1)
-
Step 700
700
#695588
oklch(49.1% 0.083 301.5)
-
Step 800
800
#56466E
oklch(42.8% 0.067 302)
-
Step 900
900 (this color)
#4C405F
oklch(39.7% 0.053 301.8)
-
Step 950
950
#292334
oklch(27.1% 0.032 300.5)
#4C405F 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) | #394560 | 0.032 |
| Deuteranopia (no green cones) | #3C455E | 0.029 |
| Tritanopia (no blue cones) | #49454B | 0.042 |
| Achromatopsia (no color) | #454545 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4C405F
#4C405F
oklch(39.7% 0.053 301.8)
- #424B2A
#424B2A
oklch(39.6% 0.053 121.3)
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 #4C405F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.055
- Charcoal Grey #3C4142 ΔE 0.060
- Charcoal #264653 ΔE 0.064
- Purple Brown #673A3F ΔE 0.069
- Onyx #343A40 ΔE 0.070
- Dusk #4E5481 ΔE 0.072
- Dusty Grape #545775 ΔE 0.072
- Dark Slate Gray #2F4F4F ΔE 0.074
Use #4C405F 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.