#4F405A
Closest named color: Charcoal Grey (#3C4142). oklch(39.8% 0.047 310.5), rgb(79, 64, 90).
Aa
White text reads best on this color (9.48:1).
About this color
#4F405A is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.047 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.055 away. White text reads best on it, at 9.48:1.
| Hue family | Purples |
| Lightness | dark (40%) |
| Chroma | muted (0.047) |
| Temperature | in between |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.21:1 |
| White text | 9.48:1 |
Values
| HEX | #4F405A |
| RGB | rgb(79, 64, 90) |
| HSL | hsl(275, 17%, 30%) |
| OKLCH | oklch(39.8% 0.047 310.5) |
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 #4F405A | 9.48:1 | AAA | Lc -96.2 | Preferred for body text |
| Black text on #4F405A | 2.21:1 | Fails | Lc 12.0 | Not readable |
| #4F405A text on white | 9.48:1 | AAA | Lc 91.9 | Preferred for body text |
| #4F405A 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
#ECE8EF
oklch(93.6% 0.01 311.2)
-
Step 200
200
#DDD6E3
oklch(88.5% 0.019 309.8)
-
Step 300
300
#C8BBD2
oklch(81% 0.035 310.7)
-
Step 400
400
#AC97BB
oklch(70.7% 0.057 311.1)
-
Step 500
500
#977DAA
oklch(63% 0.072 310.6)
-
Step 600
600
#826695
oklch(55.6% 0.078 311.1)
-
Step 700
700
#6E557F
oklch(49.2% 0.072 311)
-
Step 800
800
#594668
oklch(42.8% 0.06 309.5)
-
Step 900
900 (this color)
#4F405A
oklch(39.8% 0.047 310.5)
-
Step 950
950
#2B2231
oklch(26.9% 0.03 311.5)
#4F405A 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) | #3C455B | 0.033 |
| Deuteranopia (no green cones) | #3F4659 | 0.031 |
| Tritanopia (no blue cones) | #4E4349 | 0.034 |
| Achromatopsia (no color) | #464646 | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4F405A
#4F405A
oklch(39.8% 0.047 310.5)
- #3E4C31
#3E4C31
oklch(39.6% 0.047 130.6)
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 #4F405A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.055
- Dark Grey Blue #29465B ΔE 0.058
- Purple Brown #673A3F ΔE 0.060
- Charcoal #264653 ΔE 0.065
- Onyx #343A40 ΔE 0.067
- Dark Slate Gray #2F4F4F ΔE 0.072
- Dusty Grape #545775 ΔE 0.073
- Dusk #4E5481 ΔE 0.076
Use #4F405A 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.