#541B44#541B44

#541B44 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.100 H 340.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#541B44
RGBrgb(84, 27, 68)
HSLhsl(317, 51%, 22%)
HSVhsv(317, 68%, 33%)
CMYKcmyk(0%, 67.9%, 19%, 67.1%)
CIE-LABlab(20.39, 31.64, -12.50)
CIE-LCHlch(20.39, 34.02, 338.45°)
OKLaboklab(32.67% 0.094 -0.0336)
OKLCHoklch(32.67% 0.1 340.3)
XYZxyz(5.0916, 3.0865, 5.7953)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B44 #1B542B
analogous
#481B54 #541B44 #541B28
triadic
#541B44 #44541B #1B4454
tetradic
#541B44 #54481B #1B542B #1B2854
square
#541B44 #54481B #1B542B #1B2854
split-complementary
#541B44 #28541B #1B5448
monochromatic
#170713 #260C1F #541B44 #822A69 #B1398F

Accessibility & contrast

On white

12.99
#541B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#541B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B44
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B44#FFFFFF#000000##FFFFFF
##541B441.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B45
Deuteranopia (green-blind)
#2F3443
Tritanopia (blue-blind)
#591C2C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541b44;
/* rgb */ color: rgb(84, 27, 68);
/* oklch */ color: oklch(32.7% 0.100 340.3);
Tailwind
colors: {
  custom: {
    50: '#865c78',
    500: '#541b44',
    950: '#000000',
  },
}
SCSS
$custom: #541b44;
$custom-light: #865c78;
$custom-dark: #000000;
JSON
{
  "hex": "#541b44",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 316.842,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32675,
    "c": 0.09978,
    "h": 340.3
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#541B44
secondary
#418A55
accent
#DB754D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #541B44

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

Preview Lab → · Contrast checker → · Palette generator →

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