#541D59#541D59

#541D59 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.116 H 324.3°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#541D59
RGBrgb(84, 29, 89)
HSLhsl(295, 51%, 23%)
HSVhsv(295, 67%, 35%)
CMYKcmyk(5.6%, 67.4%, 0%, 65.1%)
CIE-LABlab(21.89, 34.63, -24.34)
CIE-LCHlch(21.89, 42.33, 324.91°)
OKLaboklab(34.14% 0.094 -0.0675)
OKLCHoklch(34.14% 0.116 324.3)
XYZxyz(5.8985, 3.4852, 9.8113)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D59 #22591D
analogous
#361D59 #541D59 #591D40
triadic
#541D59 #59541D #1D5954
tetradic
#541D59 #59361D #22591D #1D4059
square
#541D59 #59361D #22591D #1D4059
split-complementary
#541D59 #40591D #1D5936
monochromatic
#160817 #280E2B #541D59 #802C87 #AB3BB5

Accessibility & contrast

On white

12.37
#541D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#541D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D59
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D59#FFFFFF#000000##FFFFFF
##541D591.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#273757
Tritanopia (blue-blind)
#562638
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541d59;
/* rgb */ color: rgb(84, 29, 89);
/* oklch */ color: oklch(34.1% 0.116 324.3);
Tailwind
colors: {
  custom: {
    50: '#865d88',
    500: '#541d59',
    950: '#000000',
  },
}
SCSS
$custom: #541d59;
$custom-light: #865d88;
$custom-dark: #000000;
JSON
{
  "hex": "#541d59",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 295,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.11572,
    "h": 324.3
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#541D59
secondary
#4A8E44
accent
#DA4D59
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #541D59

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

Preview Lab → · Contrast checker → · Palette generator →

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