#4E345A
Closest named color: Onyx (#343A40). oklch(37.2% 0.071 314.6), rgb(78, 52, 90).
Aa
White text reads best on this color (10.69:1).
About this color
#4E345A is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.071 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.072 away. White text reads best on it, at 10.69:1.
| Hue family | Purples |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Onyx (#343A40) |
| Black text | 1.96:1 |
| White text | 10.69:1 |
Values
| HEX | #4E345A |
| RGB | rgb(78, 52, 90) |
| HSL | hsl(281, 27%, 28%) |
| OKLCH | oklch(37.2% 0.071 314.6) |
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 #4E345A | 10.69:1 | AAA | Lc -98.6 | Preferred for body text |
| Black text on #4E345A | 1.96:1 | Fails | Lc 9.2 | Not readable |
| #4E345A text on white | 10.69:1 | AAA | Lc 94.7 | Preferred for body text |
| #4E345A text on black | 1.96:1 | Fails | Lc -7.9 | 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F1
oklch(93.6% 0.015 316)
-
Step 200
200
#E1D4E7
oklch(88.6% 0.029 315.3)
-
Step 300
300
#CEB7D9
oklch(81% 0.053 314.9)
-
Step 400
400
#B491C6
oklch(70.7% 0.085 314)
-
Step 500
500
#A275B7
oklch(63.2% 0.108 314.6)
-
Step 600
600
#8D5CA3
oklch(55.6% 0.119 314.7)
-
Step 700
700
#784C8B
oklch(49.2% 0.109 315.1)
-
Step 800
800
#613E71
oklch(42.6% 0.091 314.6)
-
Step 900
900 (this color)
#4E345A
oklch(37.2% 0.071 314.6)
-
Step 950
950
#2F2036
oklch(27.2% 0.045 314.6)
#4E345A 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) | #2E3C5B | 0.057 |
| Deuteranopia (no green cones) | #343F59 | 0.053 |
| Tritanopia (no blue cones) | #4D3942 | 0.049 |
| Achromatopsia (no color) | #3E3E3E | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E345A
#4E345A
oklch(37.2% 0.071 314.6)
- #304820
#304820
oklch(37.1% 0.07 134.2)
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 #4E345A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.072
- Grape Purple #5D1451 ΔE 0.072
- Charcoal Grey #3C4142 ΔE 0.073
- Purple Brown #673A3F ΔE 0.074
- Dark Grey Blue #29465B ΔE 0.075
- Prussian Blue #1D3557 ΔE 0.080
- Space Cadet #2B2D42 ΔE 0.081
- Gunmetal #293241 ΔE 0.081
Use #4E345A 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.