#542E4E

A color in the Purple, Crimson, Magenta family

#542e4e is a color in the Purple, Crimson, Magenta family: RGB(84, 46, 78), HSL(309°, 29%, 25%), CMYK(0%, 45%, 7%, 67%). Closest named color: darkslateblue. Contrast is 11.18:1 on white and 1.88:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#542e4e
RGBrgb(84 46 78)
RGB (legacy)rgb(84, 46, 78)
RGB %rgb(33% 18% 31%)
HSLhsl(309 29% 25%)
HSV / HSBhsv(309, 45%, 33%)
HWBhwb(309 18% 67%)
CMYKcmyk(0%, 45%, 7%, 67%)
CIELAB (D50)lab(24.93 21.8 -12.11)
LCHlch(24.93 24.94 330.95)
OKLaboklab(0.3619 0.0651 -0.0332)
OKLCHoklch(0.3619 0.0731 332.97)
Decimal5516878

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslateblue ΔE 10.6
Closest web-safe color#663366
Hue309°
Saturation (HSL / HSV)29% / 45%
Lightness (HSL)25%
Brightness or Value (HSV)33%
Luminance (Rec.601 / Rec.709)24% / 22%
Relative luminance (WCAG)0.0439
Red / Green / Blue84 / 46 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.88:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 95.6 / 0 · As background with white / black text: Lc -99.4 / 8.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #542e4e;
  --color-brand-oklch: oklch(36.19% 0.0731 332.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(84 46 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#542e4e] text-[#542e4e] border-[#542e4e]">