#4E2F9C
Closest named color: Blueberry (#464196). oklch(41.1% 0.167 290.1), rgb(78, 47, 156).
Aa
White text reads best on this color (9.49:1).
About this color
#4E2F9C is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.167 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.042 away. White text reads best on it, at 9.49:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | vivid (0.167) |
| Temperature | in between |
| Nearest name | Blueberry (#464196) |
| Black text | 2.21:1 |
| White text | 9.49:1 |
Values
| HEX | #4E2F9C |
| RGB | rgb(78, 47, 156) |
| HSL | hsl(257, 54%, 40%) |
| OKLCH | oklch(41.1% 0.167 290.1) |
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 #4E2F9C | 9.49:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #4E2F9C | 2.21:1 | Fails | Lc 12.6 | Not readable |
| #4E2F9C text on white | 9.49:1 | AAA | Lc 91.4 | Preferred for body text |
| #4E2F9C text on black | 2.21:1 | Fails | Lc -11.0 | 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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E9E7FC
oklch(93.6% 0.028 290.2)
-
Step 200
200
#D8D4FB
oklch(88.5% 0.053 290)
-
Step 300
300
#BFB6FC
oklch(80.9% 0.098 289.9)
-
Step 400
400
#A18DFA
oklch(70.7% 0.156 290.3)
-
Step 500
500
#8C6CF7
oklch(63.2% 0.199 290.1)
-
Step 600
600
#784EE6
oklch(55.6% 0.217 290.2)
-
Step 700
700
#653EC8
oklch(49.2% 0.201 289.9)
-
Step 800
800 (this color)
#4E2F9C
oklch(41.1% 0.167 290.1)
-
Step 900
900
#432F80
oklch(37.6% 0.13 290)
-
Step 950
950
#271D4B
oklch(27% 0.082 289.8)
#4E2F9C 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) | #00489F | 0.090 |
| Deuteranopia (no green cones) | #00439A | 0.088 |
| Tritanopia (no blue cones) | #344B62 | 0.134 |
| Achromatopsia (no color) | #464646 | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E2F9C
#4E2F9C
oklch(41.1% 0.167 290.1)
- #4E4E00
#4E4E00
oklch(41% 0.089 109.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 #4E2F9C, closest first.
No curated palette has a color within ΔE 0.04 of #4E2F9C.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.042
- Dark Slate Blue #483D8B ΔE 0.043
- Rebecca Purple #663399 ΔE 0.048
- Chrysanthemum #560BAD ΔE 0.051
- Imperial Purple #480CA8 ΔE 0.052
- Indigo Blue #3A18B1 ΔE 0.063
- Sapphire #2138AB ΔE 0.070
- Blue With A Hint Of Purple #533CC6 ΔE 0.074
Use #4E2F9C 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.