#4C2458
Closest named color: Grape Purple (#5D1451). oklch(33.9% 0.098 317.9), rgb(76, 36, 88).
Aa
White text reads best on this color (12.34:1).
About this color
#4C2458 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.098 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.045 away. White text reads best on it, at 12.34:1.
| Hue family | Purples |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.70:1 |
| White text | 12.34:1 |
Values
| HEX | #4C2458 |
| RGB | rgb(76, 36, 88) |
| HSL | hsl(286, 42%, 24%) |
| OKLCH | oklch(33.9% 0.098 317.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 #4C2458 | 12.34:1 | AAA | Lc -101.3 | Preferred for body text |
| Black text on #4C2458 | 1.70:1 | Fails | Lc 0.0 | Not readable |
| #4C2458 text on white | 12.34:1 | AAA | Lc 97.8 | Preferred for body text |
| #4C2458 text on black | 1.70: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 900.
-
Step 50
50
#F8F3FA
oklch(97% 0.011 316.5)
-
Step 100
100
#F0E6F3
oklch(93.7% 0.02 318.4)
-
Step 200
200
#E5D1EB
oklch(88.5% 0.041 318.4)
-
Step 300
300
#D5B2E0
oklch(80.9% 0.074 318)
-
Step 400
400
#BF88D0
oklch(70.6% 0.118 318)
-
Step 500
500
#AE69C4
oklch(63.1% 0.15 317.6)
-
Step 600
600
#9A4EB0
oklch(55.7% 0.163 318.2)
-
Step 700
700
#833E97
oklch(49.1% 0.152 318.1)
-
Step 800
800
#6B347B
oklch(42.8% 0.126 318.1)
-
Step 900
900 (this color)
#4C2458
oklch(33.9% 0.098 317.9)
-
Step 950
950
#331C3A
oklch(27.1% 0.062 318)
#4C2458 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) | #19325A | 0.090 |
| Deuteranopia (no green cones) | #263657 | 0.080 |
| Tritanopia (no blue cones) | #4C2C3A | 0.063 |
| Achromatopsia (no color) | #353535 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4C2458
#4C2458
oklch(33.9% 0.098 317.9)
- #1A4306
#1A4306
oklch(34% 0.099 137.9)
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 #4C2458, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.045
- Plum Purple #4E0550 ΔE 0.054
- Deep Violet #490648 ΔE 0.060
- Royal Purple #4B006E ΔE 0.069
- Eggplant Purple #430541 ΔE 0.073
- Space Cadet #2B2D42 ΔE 0.080
- Rich Purple #720058 ΔE 0.087
- Prussian Blue #1D3557 ΔE 0.089
Use #4C2458 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.