#541D55#541D55

#541D55 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.9% C 0.112 H 327.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#541D55
RGBrgb(84, 29, 85)
HSLhsl(299, 49%, 22%)
HSVhsv(299, 66%, 33%)
CMYKcmyk(1.2%, 65.9%, 0%, 66.7%)
CIE-LABlab(21.65, 33.82, -22.04)
CIE-LCHlch(21.65, 40.37, 326.90°)
OKLaboklab(33.89% 0.0937 -0.0609)
OKLCHoklch(33.89% 0.112 327)
XYZxyz(5.7351, 3.4198, 8.9506)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D55 #1E551D
analogous
#381D55 #541D55 #551D3A
triadic
#541D55 #55541D #1D5554
tetradic
#541D55 #55381D #1E551D #1D3A55
square
#541D55 #55381D #1E551D #1D3A55
split-complementary
#541D55 #3A551D #1D5538
monochromatic
#170817 #270D27 #541D55 #812D83 #AE3CB0

Accessibility & contrast

On white

12.47
#541D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541D55
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D55#FFFFFF#000000##FFFFFF
##541D551.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F57
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#562436
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541d55;
/* rgb */ color: rgb(84, 29, 85);
/* oklch */ color: oklch(33.9% 0.112 327.0);
Tailwind
colors: {
  custom: {
    50: '#865d85',
    500: '#541d55',
    950: '#000000',
  },
}
SCSS
$custom: #541d55;
$custom-light: #865d85;
$custom-dark: #000000;
JSON
{
  "hex": "#541d55",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 298.929,
    "s": 49.123,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33894,
    "c": 0.11175,
    "h": 327
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#541D55
secondary
#458A44
accent
#D94F52
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #541D55

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

Preview Lab → · Contrast checker → · Palette generator →

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