#4F478F
Closest named color: Blueberry (#464196). oklch(44.3% 0.115 285.8), rgb(79, 71, 143).
Aa
White text reads best on this color (7.98:1).
About this color
#4F478F is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.115 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.026 away. White text reads best on it, at 7.98:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.115) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.63:1 |
| White text | 7.98:1 |
Values
| HEX | #4F478F |
| RGB | rgb(79, 71, 143) |
| HSL | hsl(247, 34%, 42%) |
| OKLCH | oklch(44.3% 0.115 285.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 #4F478F | 7.98:1 | AAA | Lc -92.2 | Preferred for body text |
| Black text on #4F478F | 2.63:1 | Fails | Lc 16.5 | Dividers and decoration only |
| #4F478F text on white | 7.98:1 | AAA | Lc 87.5 | Fine for body text |
| #4F478F text on black | 2.63:1 | Fails | Lc -14.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 800.
-
Step 50
50
#F5F5FB
oklch(97.2% 0.008 286.3)
-
Step 100
100
#E8E8F7
oklch(93.5% 0.02 286)
-
Step 200
200
#D6D6F1
oklch(88.4% 0.037 285.6)
-
Step 300
300
#BCBBEB
oklch(80.9% 0.067 285.7)
-
Step 400
400
#9A96E1
oklch(70.6% 0.109 285.7)
-
Step 500
500
#837BD8
oklch(63.1% 0.137 285.7)
-
Step 600
600
#6E62C5
oklch(55.6% 0.149 286)
-
Step 700
700
#5C51AB
oklch(49.2% 0.139 285.7)
-
Step 800
800 (this color)
#4F478F
oklch(44.3% 0.115 285.8)
-
Step 900
900
#3E396E
oklch(37.7% 0.089 285.6)
-
Step 950
950
#242241
oklch(27.1% 0.057 284.9)
#4F478F 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) | #295392 | 0.054 |
| Deuteranopia (no green cones) | #274F8D | 0.054 |
| Tritanopia (no blue cones) | #3B5664 | 0.097 |
| Achromatopsia (no color) | #515151 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4F478F
#4F478F
oklch(44.3% 0.115 285.8)
- #5B5600
#5B5600
oklch(44.4% 0.094 105.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 #4F478F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.026
- Twilight #4E518B ΔE 0.029
- Dark Slate Blue #483D8B ΔE 0.030
- Dusk #4E5481 ΔE 0.047
- Dusk Blue #26538D ΔE 0.058
- Denim Blue #3B5B92 ΔE 0.058
- Rebecca Purple #663399 ΔE 0.062
- Cobalt #1E488F ΔE 0.062
Use #4F478F 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.