#541B59#541B59

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

Color values

HEX#541B59
RGBrgb(84, 27, 89)
HSLhsl(295, 53%, 23%)
HSVhsv(295, 70%, 35%)
CMYKcmyk(5.6%, 69.7%, 0%, 65.1%)
CIE-LABlab(21.54, 35.60, -24.89)
CIE-LCHlch(21.54, 43.43, 325.04°)
OKLaboklab(33.89% 0.0966 -0.0691)
OKLCHoklch(33.89% 0.119 324.4)
XYZxyz(5.8511, 3.3903, 9.7955)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B59 #20591B
analogous
#351B59 #541B59 #591B3F
triadic
#541B59 #59541B #1B5954
tetradic
#541B59 #59351B #20591B #1B3F59
square
#541B59 #59351B #20591B #1B3F59
split-complementary
#541B59 #3F591B #1B5935
monochromatic
#160717 #280D2A #541B59 #802988 #AD37B7

Accessibility & contrast

On white

12.51
#541B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B59
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B59#FFFFFF#000000##FFFFFF
##541B591.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2F5B
Deuteranopia (green-blind)
#263657
Tritanopia (blue-blind)
#562437
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541b59;
/* rgb */ color: rgb(84, 27, 89);
/* oklch */ color: oklch(33.9% 0.119 324.4);
Tailwind
colors: {
  custom: {
    50: '#865c88',
    500: '#541b59',
    950: '#000000',
  },
}
SCSS
$custom: #541b59;
$custom-light: #865c88;
$custom-dark: #000000;
JSON
{
  "hex": "#541b59",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 295.161,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33894,
    "c": 0.1188,
    "h": 324.4
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#541B59
secondary
#478F41
accent
#DD4B57
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #541B59

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

Preview Lab → · Contrast checker → · Palette generator →

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