#4F405D
Closest named color: Dark Grey Blue (#29465B). oklch(39.9% 0.051 307.8), rgb(79, 64, 93).
Aa
White text reads best on this color (9.44:1).
About this color
#4F405D is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.051 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.059 away. White text reads best on it, at 9.44:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | muted (0.051) |
| Temperature | in between |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.22:1 |
| White text | 9.44:1 |
Values
| HEX | #4F405D |
| RGB | rgb(79, 64, 93) |
| HSL | hsl(271, 18%, 31%) |
| OKLCH | oklch(39.9% 0.051 307.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 #4F405D | 9.44:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #4F405D | 2.22:1 | Fails | Lc 12.1 | Not readable |
| #4F405D text on white | 9.44:1 | AAA | Lc 91.8 | Preferred for body text |
| #4F405D text on black | 2.22:1 | Fails | Lc -10.6 | 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
#F6F4F8
oklch(97% 0.006 308.4)
-
Step 100
100
#ECE8F0
oklch(93.6% 0.011 308.3)
-
Step 200
200
#DDD6E4
oklch(88.6% 0.02 308.2)
-
Step 300
300
#C7BAD4
oklch(80.8% 0.039 307.9)
-
Step 400
400
#AB97BF
oklch(70.8% 0.061 307.5)
-
Step 500
500
#967DAF
oklch(63.1% 0.079 307.1)
-
Step 600
600
#81659A
oklch(55.5% 0.086 308)
-
Step 700
700
#6D5484
oklch(49.1% 0.08 307.6)
-
Step 800
800
#59456B
oklch(42.7% 0.066 307.9)
-
Step 900
900 (this color)
#4F405D
oklch(39.9% 0.051 307.8)
-
Step 950
950
#2B2233
oklch(27% 0.033 308.4)
#4F405D 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) | #3B455E | 0.034 |
| Deuteranopia (no green cones) | #3E465C | 0.032 |
| Tritanopia (no blue cones) | #4D444A | 0.039 |
| Achromatopsia (no color) | #464646 | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4F405D
#4F405D
oklch(39.9% 0.051 307.8)
- #3F4D2E
#3F4D2E
oklch(39.9% 0.052 128.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 #4F405D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.059
- Charcoal Grey #3C4142 ΔE 0.060
- Purple Brown #673A3F ΔE 0.063
- Charcoal #264653 ΔE 0.067
- Onyx #343A40 ΔE 0.071
- Dusty Grape #545775 ΔE 0.071
- Dusk #4E5481 ΔE 0.073
- Dark Slate Gray #2F4F4F ΔE 0.074
Use #4F405D 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.