#542252
Closest named color: Grape Purple (#5D1451). oklch(34.4% 0.1 329), rgb(84, 34, 82).
Aa
White text reads best on this color (12.15:1).
About this color
#542252 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.100 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.030 away. White text reads best on it, at 12.15:1.
| Hue family | Purples |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.100) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.72:1 |
| White text | 12.15:1 |
Values
| HEX | #542252 |
| RGB | rgb(84, 34, 82) |
| HSL | hsl(302, 42%, 23%) |
| OKLCH | oklch(34.4% 0.1 329) |
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 #542252 | 12.15:1 | AAA | Lc -100.9 | Preferred for body text |
| Black text on #542252 | 1.72:1 | Fails | Lc 0.0 | Not readable |
| #542252 text on white | 12.15:1 | AAA | Lc 97.3 | Preferred for body text |
| #542252 text on black | 1.72: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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F3E5F1
oklch(93.6% 0.022 330.3)
-
Step 200
200
#E9D0E7
oklch(88.5% 0.041 328.4)
-
Step 300
300
#DCB0D9
oklch(80.9% 0.075 328.5)
-
Step 400
400
#CA84C5
oklch(70.6% 0.121 329.3)
-
Step 500
500
#BB63B6
oklch(63.1% 0.154 329.3)
-
Step 600
600
#A647A2
oklch(55.5% 0.168 329.2)
-
Step 700
700
#8E388B
oklch(49.1% 0.156 329)
-
Step 800
800
#732F71
oklch(42.6% 0.129 328.7)
-
Step 900
900 (this color)
#542252
oklch(34.4% 0.1 329)
-
Step 950
950
#371A35
oklch(27% 0.063 329.7)
#542252 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) | #1E3154 | 0.101 |
| Deuteranopia (no green cones) | #2E3851 | 0.088 |
| Tritanopia (no blue cones) | #572736 | 0.056 |
| Achromatopsia (no color) | #363636 | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #542252
#542252
oklch(34.4% 0.1 329)
- #00461A
#00461A
oklch(34.4% 0.097 149.1)
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 #542252, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.030
- Plum Purple #4E0550 ΔE 0.053
- Deep Violet #490648 ΔE 0.060
- Rich Purple #720058 ΔE 0.071
- Velvet #750851 ΔE 0.073
- Eggplant Purple #430541 ΔE 0.074
- Royal Purple #4B006E ΔE 0.079
- Merlot #730039 ΔE 0.081
Use #542252 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.