#4F3A8E
Closest named color: Dark Slate Blue (#483D8B). oklch(41.8% 0.133 291), rgb(79, 58, 142).
Aa
White text reads best on this color (9.01:1).
About this color
#4F3A8E is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.133 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.014 away. White text reads best on it, at 9.01:1.
| Hue family | Purples |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.133) |
| Temperature | in between |
| Nearest name | Dark Slate Blue (#483D8B) |
| Black text | 2.32:1 |
| White text | 9.01:1 |
Values
| HEX | #4F3A8E |
| RGB | rgb(79, 58, 142) |
| HSL | hsl(255, 42%, 39%) |
| OKLCH | oklch(41.8% 0.133 291) |
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 #4F3A8E | 9.01:1 | AAA | Lc -94.8 | Preferred for body text |
| Black text on #4F3A8E | 2.32:1 | Fails | Lc 13.6 | Not readable |
| #4F3A8E text on white | 9.01:1 | AAA | Lc 90.4 | Preferred for body text |
| #4F3A8E text on black | 2.32:1 | Fails | Lc -11.9 | 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
#F5F4FC
oklch(97% 0.011 292)
-
Step 100
100
#E9E8F8
oklch(93.6% 0.021 288.9)
-
Step 200
200
#D9D5F4
oklch(88.6% 0.042 291.4)
-
Step 300
300
#C0B8F0
oklch(80.8% 0.079 291.1)
-
Step 400
400
#A192E8
oklch(70.7% 0.124 290.9)
-
Step 500
500
#8C74E1
oklch(63.1% 0.159 291.3)
-
Step 600
600
#775ACF
oklch(55.6% 0.173 291.1)
-
Step 700
700
#6449B3
oklch(49.1% 0.161 291)
-
Step 800
800 (this color)
#4F3A8E
oklch(41.8% 0.133 291)
-
Step 900
900
#433574
oklch(37.8% 0.104 290.8)
-
Step 950
950
#271F44
oklch(26.9% 0.067 291.2)
#4F3A8E 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) | #034A91 | 0.083 |
| Deuteranopia (no green cones) | #0B478C | 0.080 |
| Tritanopia (no blue cones) | #3D4C5E | 0.107 |
| Achromatopsia (no color) | #494949 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4F3A8E
#4F3A8E
oklch(41.8% 0.133 291)
- #4F5000
#4F5000
oklch(41.6% 0.091 110.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 #4F3A8E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Blue #483D8B ΔE 0.014
- Blueberry #464196 ΔE 0.024
- Rebecca Purple #663399 ΔE 0.047
- Twilight #4E518B ΔE 0.062
- Cobalt #1E488F ΔE 0.069
- Dusk #4E5481 ΔE 0.077
- Dusk Blue #26538D ΔE 0.080
- Sapphire #2138AB ΔE 0.082
Use #4F3A8E 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.