#4D405F
Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.054 303.3), rgb(77, 64, 95).
Aa
White text reads best on this color (9.48:1).
About this color
#4D405F is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.054 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.056 away. White text reads best on it, at 9.48:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | muted (0.054) |
| Temperature | in between |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.21:1 |
| White text | 9.48:1 |
Values
| HEX | #4D405F |
| RGB | rgb(77, 64, 95) |
| HSL | hsl(265, 19%, 31%) |
| OKLCH | oklch(39.8% 0.054 303.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 #4D405F | 9.48:1 | AAA | Lc -96.2 | Preferred for body text |
| Black text on #4D405F | 2.21:1 | Fails | Lc 12.0 | Not readable |
| #4D405F text on white | 9.48:1 | AAA | Lc 91.9 | Preferred for body text |
| #4D405F text on black | 2.21:1 | Fails | Lc -10.5 | 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
#DCD6E6
oklch(88.6% 0.023 302.9)
-
Step 300
300
#C6BBD6
oklch(81% 0.039 304)
-
Step 400
400
#A997C2
oklch(70.7% 0.065 303.9)
-
Step 500
500
#947DB3
oklch(63.1% 0.083 303.6)
-
Step 600
600
#7E669E
oklch(55.6% 0.089 303.3)
-
Step 700
700
#6A5587
oklch(49.1% 0.082 302.8)
-
Step 800
800
#57456E
oklch(42.7% 0.07 303.8)
-
Step 900
900 (this color)
#4D405F
oklch(39.8% 0.054 303.3)
-
Step 950
950
#2A2234
oklch(26.9% 0.035 304.5)
#4D405F 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) | #3A4560 | 0.032 |
| Deuteranopia (no green cones) | #3C465E | 0.032 |
| Tritanopia (no blue cones) | #4A454B | 0.042 |
| Achromatopsia (no color) | #464646 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4D405F
#4D405F
oklch(39.8% 0.054 303.3)
- #414C2B
#414C2B
oklch(39.8% 0.054 123.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 #4D405F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.056
- Charcoal Grey #3C4142 ΔE 0.061
- Charcoal #264653 ΔE 0.065
- Purple Brown #673A3F ΔE 0.068
- Onyx #343A40 ΔE 0.071
- Dusty Grape #545775 ΔE 0.071
- Dusk #4E5481 ΔE 0.072
- Dark Slate Gray #2F4F4F ΔE 0.074
Use #4D405F 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.