#541E4F#541E4F

#541E4F is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.104 H 331.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#541E4F
RGBrgb(84, 30, 79)
HSLhsl(306, 47%, 22%)
HSVhsv(306, 64%, 33%)
CMYKcmyk(0%, 64.3%, 6%, 67.1%)
CIE-LABlab(21.50, 32.13, -18.25)
CIE-LCHlch(21.50, 36.95, 330.40°)
OKLaboklab(33.67% 0.0916 -0.05)
OKLCHoklch(33.67% 0.104 331.4)
XYZxyz(5.5317, 3.3783, 7.7563)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E4F #1E5423
analogous
#3E1E54 #541E4F #541E34
triadic
#541E4F #4F541E #1E4F54
tetradic
#541E4F #543E1E #1E5423 #1E3454
square
#541E4F #543E1E #1E5423 #1E3454
split-complementary
#541E4F #34541E #1E543E
monochromatic
#170815 #270E25 #541E4F #812E79 #AE3EA4

Accessibility & contrast

On white

12.53
#541E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#541E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E4F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E4F#FFFFFF#000000##FFFFFF
##541E4F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F51
Deuteranopia (green-blind)
#2D364E
Tritanopia (blue-blind)
#572333
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541e4f;
/* rgb */ color: rgb(84, 30, 79);
/* oklch */ color: oklch(33.7% 0.104 331.4);
Tailwind
colors: {
  custom: {
    50: '#865e80',
    500: '#541e4f',
    950: '#000000',
  },
}
SCSS
$custom: #541e4f;
$custom-light: #865e80;
$custom-dark: #000000;
JSON
{
  "hex": "#541e4f",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 305.556,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33673,
    "c": 0.10433,
    "h": 331.4
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#541E4F
secondary
#45894B
accent
#D75D51
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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