#4E1B48
Closest named color: Grape Purple (#5D1451). oklch(31.9% 0.098 332.5), rgb(78, 27, 72).
Aa
White text reads best on this color (13.33:1).
About this color
#4E1B48 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.098 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.037 away. White text reads best on it, at 13.33:1.
| Hue family | Purples |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.57:1 |
| White text | 13.33:1 |
Values
| HEX | #4E1B48 |
| RGB | rgb(78, 27, 72) |
| HSL | hsl(307, 49%, 21%) |
| OKLCH | oklch(31.9% 0.098 332.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 #4E1B48 | 13.33:1 | AAA | Lc -102.5 | Preferred for body text |
| Black text on #4E1B48 | 1.57:1 | Fails | Lc 0.0 | Not readable |
| #4E1B48 text on white | 13.33:1 | AAA | Lc 99.3 | Preferred for body text |
| #4E1B48 text on black | 1.57:1 | Fails | Lc 0.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 950.
-
Step 50
50
#FCF2FA
oklch(97.1% 0.015 332.2)
-
Step 100
100
#F8E2F4
oklch(93.6% 0.034 331.9)
-
Step 200
200
#F4CAEC
oklch(88.5% 0.065 332.7)
-
Step 300
300
#EDA4E2
oklch(80.8% 0.117 332)
-
Step 400
400
#E16ED3
oklch(70.7% 0.186 332.1)
-
Step 500
500
#D63BC6
oklch(63.1% 0.238 332.6)
-
Step 600
600
#BF00B1
oklch(55.6% 0.25 332.4)
-
Step 700
700
#A10095
oklch(49% 0.221 332.4)
-
Step 800
800
#85007B
oklch(42.6% 0.192 332.4)
-
Step 900
900
#6D0F64
oklch(37.7% 0.156 332.8)
-
Step 950
950 (this color)
#4E1B48
oklch(31.9% 0.098 332.5)
#4E1B48 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) | #192B49 | 0.103 |
| Deuteranopia (no green cones) | #293247 | 0.090 |
| Tritanopia (no blue cones) | #511F2E | 0.052 |
| Achromatopsia (no color) | #2F2F2F | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E1B48
#4E1B48
oklch(31.9% 0.098 332.5)
- #003E1C
#003E1C
oklch(31.9% 0.083 152.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 #4E1B48, closest first.
No curated palette has a color within ΔE 0.04 of #4E1B48.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.037
- Deep Violet #490648 ΔE 0.040
- Plum Purple #4E0550 ΔE 0.040
- Eggplant Purple #430541 ΔE 0.050
- Aubergine #3D0734 ΔE 0.066
- Eggplant #380835 ΔE 0.073
- Dark Plum #3F012C ΔE 0.076
- Burgundy #610023 ΔE 0.076
Use #4E1B48 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.