#542E4E#542E4E

#542E4E is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.2% C 0.073 H 333.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#542E4E
RGBrgb(84, 46, 78)
HSLhsl(309, 29%, 25%)
HSVhsv(309, 45%, 33%)
CMYKcmyk(0%, 45.2%, 7.1%, 67.1%)
CIE-LABlab(24.92, 22.80, -12.29)
CIE-LCHlch(24.92, 25.91, 331.68°)
OKLaboklab(36.19% 0.0651 -0.0332)
OKLCHoklch(36.19% 0.073 333)
XYZxyz(6.0083, 4.3892, 7.7370)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E4E #2E5434
analogous
#472E54 #542E4E #542E3B
triadic
#542E4E #4E542E #2E4E54
tetradic
#542E4E #54472E #2E5434 #2E3B54
square
#542E4E #54472E #2E5434 #2E3B54
split-complementary
#542E4E #3B542E #2E5447
monochromatic
#140B12 #2C1829 #542E4E #7C4473 #A35997

Accessibility & contrast

On white

11.18
#542E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#542E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542E4E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E4E#FFFFFF#000000##FFFFFF
##542E4E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D384F
Deuteranopia (green-blind)
#373D4D
Tritanopia (blue-blind)
#57303A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #542e4e;
/* rgb */ color: rgb(84, 46, 78);
/* oklch */ color: oklch(36.2% 0.073 333.0);
Tailwind
colors: {
  custom: {
    50: '#85687f',
    500: '#542e4e',
    950: '#000000',
  },
}
SCSS
$custom: #542e4e;
$custom-light: #85687f;
$custom-dark: #000000;
JSON
{
  "hex": "#542e4e",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 309.474,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.0731,
    "h": 333
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#542E4E
secondary
#58865F
accent
#C57262
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #542E4E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#542E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva