#4C0F40
Closest named color: Deep Violet (#490648). oklch(29.7% 0.108 337.1), rgb(76, 15, 64).
Aa
White text reads best on this color (14.48:1).
About this color
#4C0F40 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.108 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.024 away. White text reads best on it, at 14.48:1.
| Hue family | Purples |
| Lightness | dark (30%) |
| Chroma | moderately saturated (0.108) |
| Temperature | warm |
| Nearest name | Deep Violet (#490648) |
| Black text | 1.44:1 |
| White text | 14.48:1 |
Values
| HEX | #4C0F40 |
| RGB | rgb(76, 15, 64) |
| HSL | hsl(312, 67%, 18%) |
| OKLCH | oklch(29.7% 0.108 337.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 #4C0F40 | 14.48:1 | AAA | Lc -103.6 | Preferred for body text |
| Black text on #4C0F40 | 1.44:1 | Fails | Lc 0.0 | Not readable |
| #4C0F40 text on white | 14.48:1 | AAA | Lc 100.5 | Preferred for body text |
| #4C0F40 text on black | 1.44: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
#FEF1FA
oklch(97.1% 0.018 336.5)
-
Step 100
100
#FBE1F3
oklch(93.6% 0.037 336.9)
-
Step 200
200
#F9C8EA
oklch(88.6% 0.071 337.6)
-
Step 300
300
#F6A0DF
oklch(81% 0.129 337.1)
-
Step 400
400
#EC64CE
oklch(70.6% 0.205 337)
-
Step 500
500
#E221C1
oklch(63.1% 0.262 337)
-
Step 600
600
#C300A5
oklch(55.6% 0.245 337.2)
-
Step 700
700
#A5008B
oklch(49.1% 0.216 337.3)
-
Step 800
800
#880073
oklch(42.7% 0.188 337)
-
Step 900
900
#720060
oklch(37.6% 0.166 337)
-
Step 950
950 (this color)
#4C0F40
oklch(29.7% 0.108 337.1)
#4C0F40 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) | #112341 | 0.118 |
| Deuteranopia (no green cones) | #262D3F | 0.101 |
| Tritanopia (no blue cones) | #501326 | 0.052 |
| Achromatopsia (no color) | #292929 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4C0F40
#4C0F40
oklch(29.7% 0.108 337.1)
- #00371E
#00371E
oklch(29.6% 0.071 157)
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 #4C0F40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Violet #490648 ΔE 0.024
- Eggplant Purple #430541 ΔE 0.030
- Plum Purple #4E0550 ΔE 0.033
- Aubergine #3D0734 ΔE 0.044
- Grape Purple #5D1451 ΔE 0.049
- Dark Plum #3F012C ΔE 0.052
- Eggplant #380835 ΔE 0.054
- Dark Purple #35063E ΔE 0.060
Use #4C0F40 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.