#542E67#542E67

#542E67 is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.6% C 0.102 H 313.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#542E67
RGBrgb(84, 46, 103)
HSLhsl(280, 38%, 29%)
HSVhsv(280, 55%, 40%)
CMYKcmyk(18.4%, 55.3%, 0%, 59.6%)
CIE-LABlab(26.21, 28.44, -26.67)
CIE-LCHlch(26.21, 38.99, 316.84°)
OKLaboklab(37.58% 0.0701 -0.0744)
OKLCHoklch(37.58% 0.102 313.3)
XYZxyz(7.0809, 4.8183, 13.3863)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E67 #41672E
analogous
#382E67 #542E67 #672E5E
triadic
#542E67 #67542E #2E6754
tetradic
#542E67 #67382E #41672E #2E5E67
square
#542E67 #67382E #41672E #2E5E67
split-complementary
#542E67 #5E672E #2E6738
monochromatic
#110915 #311B3D #542E67 #774191 #975AB5

Accessibility & contrast

On white

10.69
#542E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542E67
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E67#FFFFFF#000000##FFFFFF
##542E671.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C69
Deuteranopia (green-blind)
#2C3F66
Tritanopia (blue-blind)
#523746
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #542e67;
/* rgb */ color: rgb(84, 46, 103);
/* oklch */ color: oklch(37.6% 0.102 313.3);
Tailwind
colors: {
  custom: {
    50: '#866893',
    500: '#542e67',
    950: '#000000',
  },
}
SCSS
$custom: #542e67;
$custom-light: #866893;
$custom-dark: #000000;
JSON
{
  "hex": "#542e67",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 280,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37578,
    "c": 0.10224,
    "h": 313.3
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#542E67
secondary
#6E9958
accent
#CE5A80
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #542E67

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

Preview Lab → · Contrast checker → · Palette generator →

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