#541B5A#541B5A

#541B5A is a dark, moderate purple. Relative luminance 0.034; OKLCH L 34.0% C 0.120 H 323.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#541B5A
RGBrgb(84, 27, 90)
HSLhsl(294, 54%, 23%)
HSVhsv(294, 70%, 35%)
CMYKcmyk(6.7%, 70%, 0%, 64.7%)
CIE-LABlab(21.61, 35.81, -25.45)
CIE-LCHlch(21.61, 43.93, 324.59°)
OKLaboklab(33.96% 0.0967 -0.0708)
OKLCHoklch(33.96% 0.12 323.8)
XYZxyz(5.8934, 3.4072, 10.0181)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B5A #215A1B
analogous
#341B5A #541B5A #5A1B40
triadic
#541B5A #5A541B #1B5A54
tetradic
#541B5A #5A341B #215A1B #1B405A
square
#541B5A #5A341B #215A1B #1B405A
split-complementary
#541B5A #405A1B #1B5A34
monochromatic
#160718 #280D2B #541B5A #802989 #AC37B8

Accessibility & contrast

On white

12.49
#541B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B5A
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B5A#FFFFFF#000000##FFFFFF
##541B5A1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5C
Deuteranopia (green-blind)
#253658
Tritanopia (blue-blind)
#562538
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541b5a;
/* rgb */ color: rgb(84, 27, 90);
/* oklch */ color: oklch(34.0% 0.120 323.8);
Tailwind
colors: {
  custom: {
    50: '#865c89',
    500: '#541b5a',
    950: '#000000',
  },
}
SCSS
$custom: #541b5a;
$custom-light: #865c89;
$custom-dark: #000000;
JSON
{
  "hex": "#541b5a",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 294.286,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.11978,
    "h": 323.8
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#541B5A
secondary
#499041
accent
#DD4B59
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #541B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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