#542E65#542E65

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

Color values

HEX#542E65
RGBrgb(84, 46, 101)
HSLhsl(281, 37%, 29%)
HSVhsv(281, 54%, 40%)
CMYKcmyk(16.8%, 54.5%, 0%, 60.4%)
CIE-LABlab(26.09, 27.96, -25.56)
CIE-LCHlch(26.09, 37.88, 317.57°)
OKLaboklab(37.45% 0.0699 -0.0712)
OKLCHoklch(37.45% 0.1 314.4)
XYZxyz(6.9817, 4.7786, 12.8640)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E65 #3F652E
analogous
#392E65 #542E65 #652E5B
triadic
#542E65 #65542E #2E6554
tetradic
#542E65 #65392E #3F652E #2E5B65
square
#542E65 #65392E #3F652E #2E5B65
split-complementary
#542E65 #5B652E #2E6539
monochromatic
#110A15 #311B3B #542E65 #77418F #985AB4

Accessibility & contrast

On white

10.74
#542E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542E65
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E65#FFFFFF#000000##FFFFFF
##542E651.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #542e65;
/* rgb */ color: rgb(84, 46, 101);
/* oklch */ color: oklch(37.5% 0.100 314.4);
Tailwind
colors: {
  custom: {
    50: '#866891',
    500: '#542e65',
    950: '#000000',
  },
}
SCSS
$custom: #542e65;
$custom-light: #866891;
$custom-dark: #000000;
JSON
{
  "hex": "#542e65",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 281.455,
    "s": 37.415,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37454,
    "c": 0.09976,
    "h": 314.4
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#542E65
secondary
#6B9758
accent
#CD5A7E
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060D
muted
#7C7A7D

Preview Lab

Preview with #542E65

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

Preview Lab → · Contrast checker → · Palette generator →

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