#541B42#541B42

#541B42 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.098 H 342.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#541B42
RGBrgb(84, 27, 66)
HSLhsl(319, 51%, 22%)
HSVhsv(319, 68%, 33%)
CMYKcmyk(0%, 67.9%, 21.4%, 67.1%)
CIE-LABlab(20.29, 31.31, -11.27)
CIE-LCHlch(20.29, 33.27, 340.21°)
OKLaboklab(32.57% 0.0935 -0.0301)
OKLCHoklch(32.57% 0.098 342.1)
XYZxyz(5.0316, 3.0625, 5.4793)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B42 #1B542D
analogous
#4A1B54 #541B42 #541B26
triadic
#541B42 #42541B #1B4254
tetradic
#541B42 #544A1B #1B542D #1B2654
square
#541B42 #544A1B #1B542D #1B2654
split-complementary
#541B42 #26541B #1B544A
monochromatic
#170712 #260C1E #541B42 #822A66 #B1398B

Accessibility & contrast

On white

13.02
#541B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B42
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B42#FFFFFF#000000##FFFFFF
##541B421.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#303441
Tritanopia (blue-blind)
#591C2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541b42;
/* rgb */ color: rgb(84, 27, 66);
/* oklch */ color: oklch(32.6% 0.098 342.1);
Tailwind
colors: {
  custom: {
    50: '#865c76',
    500: '#541b42',
    950: '#000000',
  },
}
SCSS
$custom: #541b42;
$custom-light: #865c76;
$custom-dark: #000000;
JSON
{
  "hex": "#541b42",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 318.947,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32575,
    "c": 0.09821,
    "h": 342.1
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#541B42
secondary
#418A58
accent
#DB7A4D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #541B42

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

Preview Lab → · Contrast checker → · Palette generator →

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