#541E4D#541E4D

#541E4D is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.6% C 0.102 H 332.9°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#541E4D
RGBrgb(84, 30, 77)
HSLhsl(308, 47%, 22%)
HSVhsv(308, 64%, 33%)
CMYKcmyk(0%, 64.3%, 8.3%, 67.1%)
CIE-LABlab(21.39, 31.75, -17.07)
CIE-LCHlch(21.39, 36.05, 331.74°)
OKLaboklab(33.56% 0.0913 -0.0466)
OKLCHoklch(33.56% 0.102 332.9)
XYZxyz(5.4600, 3.3496, 7.3787)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E4D #1E5425
analogous
#401E54 #541E4D #541E32
triadic
#541E4D #4D541E #1E4D54
tetradic
#541E4D #54401E #1E5425 #1E3254
square
#541E4D #54401E #1E5425 #1E3254
split-complementary
#541E4D #32541E #1E5440
monochromatic
#170815 #270E24 #541E4D #812E76 #AE3EA0

Accessibility & contrast

On white

12.58
#541E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#541E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E4D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E4D#FFFFFF#000000##FFFFFF
##541E4D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4E
Deuteranopia (green-blind)
#2E364C
Tritanopia (blue-blind)
#582232
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541e4d;
/* rgb */ color: rgb(84, 30, 77);
/* oklch */ color: oklch(33.6% 0.102 332.9);
Tailwind
colors: {
  custom: {
    50: '#865e7f',
    500: '#541e4d',
    950: '#000000',
  },
}
SCSS
$custom: #541e4d;
$custom-light: #865e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#541e4d",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 307.778,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33561,
    "c": 0.10247,
    "h": 332.9
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#541E4D
secondary
#45894E
accent
#D76251
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#541E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva