#541B40#541B40

#541B40 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.097 H 344.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#541B40
RGBrgb(84, 27, 64)
HSLhsl(321, 51%, 22%)
HSVhsv(321, 68%, 33%)
CMYKcmyk(0%, 67.9%, 23.8%, 67.1%)
CIE-LABlab(20.20, 30.98, -10.03)
CIE-LCHlch(20.20, 32.56, 342.07°)
OKLaboklab(32.48% 0.093 -0.0267)
OKLCHoklch(32.48% 0.097 344)
XYZxyz(4.9737, 3.0393, 5.1742)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B40 #1B542F
analogous
#4C1B54 #541B40 #541B24
triadic
#541B40 #40541B #1B4054
tetradic
#541B40 #544C1B #1B542F #1B2454
square
#541B40 #544C1B #1B542F #1B2454
split-complementary
#541B40 #24541B #1B544C
monochromatic
#170712 #260C1D #541B40 #822A63 #B13987

Accessibility & contrast

On white

13.06
#541B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#541B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B40
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B40#FFFFFF#000000##FFFFFF
##541B401.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#31343F
Tritanopia (blue-blind)
#5A1B2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541b40;
/* rgb */ color: rgb(84, 27, 64);
/* oklch */ color: oklch(32.5% 0.097 344.0);
Tailwind
colors: {
  custom: {
    50: '#865b74',
    500: '#541b40',
    950: '#000000',
  },
}
SCSS
$custom: #541b40;
$custom-light: #865b74;
$custom-dark: #000000;
JSON
{
  "hex": "#541b40",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 321.053,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32477,
    "c": 0.09672,
    "h": 344
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#541B40
secondary
#418A5B
accent
#DB7F4D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #541B40

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

Preview Lab → · Contrast checker → · Palette generator →

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