#541E5D#541E5D

#541E5D is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.118 H 321.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#541E5D
RGBrgb(84, 30, 93)
HSLhsl(291, 51%, 24%)
HSVhsv(291, 68%, 36%)
CMYKcmyk(9.7%, 67.7%, 0%, 63.5%)
CIE-LABlab(22.32, 34.98, -26.31)
CIE-LCHlch(22.32, 43.77, 323.05°)
OKLaboklab(34.53% 0.0928 -0.0733)
OKLCHoklch(34.53% 0.118 321.7)
XYZxyz(6.0960, 3.6040, 10.7283)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E5D #275D1E
analogous
#351E5D #541E5D #5D1E47
triadic
#541E5D #5D541E #1E5D54
tetradic
#541E5D #5D351E #275D1E #1E475D
square
#541E5D #5D351E #275D1E #1E475D
split-complementary
#541E5D #475D1E #1E5D35
monochromatic
#150717 #2A0F2F #541E5D #7E2D8B #A83CBA

Accessibility & contrast

On white

12.20
#541E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E5D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E5D#FFFFFF#000000##FFFFFF
##541E5D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315F
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#55283A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541e5d;
/* rgb */ color: rgb(84, 30, 93);
/* oklch */ color: oklch(34.5% 0.118 321.7);
Tailwind
colors: {
  custom: {
    50: '#865e8b',
    500: '#541e5d',
    950: '#000000',
  },
}
SCSS
$custom: #541e5d;
$custom-light: #865e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#541e5d",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 291.429,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34533,
    "c": 0.11822,
    "h": 321.7
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#541E5D
secondary
#509245
accent
#DB4D61
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #541E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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