#4E1238
Closest named color: Deep Violet (#490648). oklch(29.9% 0.1 345.9), rgb(78, 18, 56).
Aa
White text reads best on this color (14.30:1).
About this color
#4E1238 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.100 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.042 away. White text reads best on it, at 14.30:1.
| Hue family | Reds |
| Lightness | dark (30%) |
| Chroma | moderately saturated (0.100) |
| Temperature | warm |
| Nearest name | Deep Violet (#490648) |
| Black text | 1.46:1 |
| White text | 14.30:1 |
Values
| HEX | #4E1238 |
| RGB | rgb(78, 18, 56) |
| HSL | hsl(322, 63%, 19%) |
| OKLCH | oklch(29.9% 0.1 345.9) |
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 #4E1238 | 14.30:1 | AAA | Lc -103.4 | Preferred for body text |
| Black text on #4E1238 | 1.46:1 | Fails | Lc 0.0 | Not readable |
| #4E1238 text on white | 14.30:1 | AAA | Lc 100.4 | Preferred for body text |
| #4E1238 text on black | 1.46: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
#FEF1F8
oklch(97% 0.017 343.6)
-
Step 100
100
#FCE1EF
oklch(93.6% 0.035 345.1)
-
Step 200
200
#FAC8E2
oklch(88.4% 0.066 345.9)
-
Step 300
300
#F8A1D1
oklch(80.9% 0.118 345.9)
-
Step 400
400
#F067B9
oklch(70.7% 0.19 346.1)
-
Step 500
500
#E62DA8
oklch(63.2% 0.242 345.9)
-
Step 600
600
#C90090
oklch(55.6% 0.236 345.8)
-
Step 700
700
#AA0079
oklch(49.1% 0.208 345.9)
-
Step 800
800
#8D0063
oklch(42.8% 0.181 346.3)
-
Step 900
900
#760353
oklch(37.8% 0.158 346)
-
Step 950
950 (this color)
#4E1238
oklch(29.9% 0.1 345.9)
#4E1238 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) | #192439 | 0.111 |
| Deuteranopia (no green cones) | #2B2E37 | 0.097 |
| Tritanopia (no blue cones) | #541123 | 0.041 |
| Achromatopsia (no color) | #2A2A2A | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E1238
#4E1238
oklch(29.9% 0.1 345.9)
- #003726
#003726
oklch(29.9% 0.062 165.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 #4E1238, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Violet #490648 ΔE 0.042
- Eggplant Purple #430541 ΔE 0.044
- Aubergine #3D0734 ΔE 0.049
- Plum Purple #4E0550 ΔE 0.051
- Dark Plum #3F012C ΔE 0.053
- Grape Purple #5D1451 ΔE 0.054
- Burgundy #610023 ΔE 0.055
- Eggplant #380835 ΔE 0.059
Use #4E1238 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.