#541B4A#541B4A

#541B4A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.105 H 335.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#541B4A
RGBrgb(84, 27, 74)
HSLhsl(311, 51%, 22%)
HSVhsv(311, 68%, 33%)
CMYKcmyk(0%, 67.9%, 11.9%, 67.1%)
CIE-LABlab(20.69, 32.70, -16.13)
CIE-LCHlch(20.69, 36.46, 333.74°)
OKLaboklab(32.99% 0.0951 -0.0439)
OKLCHoklch(32.99% 0.105 335.2)
XYZxyz(5.2842, 3.1635, 6.8095)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B4A #1B5425
analogous
#421B54 #541B4A #541B2E
triadic
#541B4A #4A541B #1B4A54
tetradic
#541B4A #54421B #1B5425 #1B2E54
square
#541B4A #54421B #1B5425 #1B2E54
split-complementary
#541B4A #2E541B #1B5442
monochromatic
#170714 #260C21 #541B4A #822A73 #B1399C

Accessibility & contrast

On white

12.86
#541B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#541B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B4A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B4A#FFFFFF#000000##FFFFFF
##541B4A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#2D3549
Tritanopia (blue-blind)
#581F2F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541b4a;
/* rgb */ color: rgb(84, 27, 74);
/* oklch */ color: oklch(33.0% 0.105 335.2);
Tailwind
colors: {
  custom: {
    50: '#865c7c',
    500: '#541b4a',
    950: '#000000',
  },
}
SCSS
$custom: #541b4a;
$custom-light: #865c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#541b4a",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 310.526,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32993,
    "c": 0.10478,
    "h": 335.2
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#541B4A
secondary
#418A4E
accent
#DB664D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #541B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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