#542E66#542E66

#542E66 is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.5% C 0.101 H 313.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#542E66
RGBrgb(84, 46, 102)
HSLhsl(281, 38%, 29%)
HSVhsv(281, 55%, 40%)
CMYKcmyk(17.6%, 54.9%, 0%, 60%)
CIE-LABlab(26.15, 28.20, -26.12)
CIE-LCHlch(26.15, 38.44, 317.20°)
OKLaboklab(37.52% 0.07 -0.0728)
OKLCHoklch(37.52% 0.101 313.8)
XYZxyz(7.0310, 4.7983, 13.1236)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E66 #40662E
analogous
#382E66 #542E66 #662E5C
triadic
#542E66 #66542E #2E6654
tetradic
#542E66 #66382E #40662E #2E5C66
square
#542E66 #66382E #40662E #2E5C66
split-complementary
#542E66 #5C662E #2E6638
monochromatic
#110A15 #311B3C #542E66 #774190 #975AB5

Accessibility & contrast

On white

10.72
#542E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#542E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542E66
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E66#FFFFFF#000000##FFFFFF
##542E661.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#2D3F65
Tritanopia (blue-blind)
#533745
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #542e66;
/* rgb */ color: rgb(84, 46, 102);
/* oklch */ color: oklch(37.5% 0.101 313.8);
Tailwind
colors: {
  custom: {
    50: '#866892',
    500: '#542e66',
    950: '#000000',
  },
}
SCSS
$custom: #542e66;
$custom-light: #866892;
$custom-dark: #000000;
JSON
{
  "hex": "#542e66",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 280.714,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37515,
    "c": 0.101,
    "h": 313.8
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#542E66
secondary
#6D9858
accent
#CE5A7F
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #542E66

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

Preview Lab → · Contrast checker → · Palette generator →

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