#542E54
Closest named color: Grape Purple (#5D1451). oklch(36.5% 0.08 327.1), rgb(84, 46, 84).
Aa
White text reads best on this color (11.07:1).
About this color
#542E54 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.080 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.055 away. White text reads best on it, at 11.07:1.
| Hue family | Purples |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.89:1 |
| White text | 11.07:1 |
Values
| HEX | #542E54 |
| RGB | rgb(84, 46, 84) |
| HSL | hsl(300, 29%, 25%) |
| OKLCH | oklch(36.5% 0.08 327.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 #542E54 | 11.07:1 | AAA | Lc -99.2 | Preferred for body text |
| Black text on #542E54 | 1.89:1 | Fails | Lc 8.5 | Not readable |
| #542E54 text on white | 11.07:1 | AAA | Lc 95.4 | Preferred for body text |
| #542E54 text on black | 1.89: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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#F0E6F0
oklch(93.6% 0.017 325.7)
-
Step 200
200
#E5D2E5
oklch(88.5% 0.033 325.9)
-
Step 300
300
#D6B4D5
oklch(81% 0.059 327)
-
Step 400
400
#C18BC0
oklch(70.7% 0.097 327.2)
-
Step 500
500
#B06DB0
oklch(63% 0.123 326.9)
-
Step 600
600
#9B549B
oklch(55.6% 0.133 327.2)
-
Step 700
700
#844485
oklch(49.1% 0.124 326.7)
-
Step 800
800
#6C396C
oklch(42.9% 0.102 327.2)
-
Step 900
900 (this color)
#542E54
oklch(36.5% 0.08 327.1)
-
Step 950
950
#331D33
oklch(26.9% 0.05 326.9)
#542E54 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) | #2B3955 | 0.076 |
| Deuteranopia (no green cones) | #353D53 | 0.068 |
| Tritanopia (no blue cones) | #56323D | 0.045 |
| Achromatopsia (no color) | #3C3C3C | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #542E54
#542E54
oklch(36.5% 0.08 327.1)
- #1D4924
#1D4924
oklch(36.4% 0.079 147)
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 #542E54, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.055
- Purple Brown #673A3F ΔE 0.071
- Onyx #343A40 ΔE 0.081
- Plum Purple #4E0550 ΔE 0.082
- Charcoal Grey #3C4142 ΔE 0.083
- Velvet #750851 ΔE 0.083
- Space Cadet #2B2D42 ΔE 0.085
- Rich Purple #720058 ΔE 0.086
Use #542E54 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.