#541B47#541B47

#541B47 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.102 H 337.7°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#541B47
RGBrgb(84, 27, 71)
HSLhsl(314, 51%, 22%)
HSVhsv(314, 68%, 33%)
CMYKcmyk(0%, 67.9%, 15.5%, 67.1%)
CIE-LABlab(20.53, 32.16, -14.32)
CIE-LCHlch(20.53, 35.21, 335.99°)
OKLaboklab(32.83% 0.0946 -0.0388)
OKLCHoklch(32.83% 0.102 337.7)
XYZxyz(5.1855, 3.1241, 6.2899)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B47 #1B5428
analogous
#451B54 #541B47 #541B2B
triadic
#541B47 #47541B #1B4754
tetradic
#541B47 #54451B #1B5428 #1B2B54
square
#541B47 #54451B #1B5428 #1B2B54
split-complementary
#541B47 #2B541B #1B5445
monochromatic
#170714 #260C20 #541B47 #822A6E #B13995

Accessibility & contrast

On white

12.92
#541B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B47
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B47#FFFFFF#000000##FFFFFF
##541B471.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#2E3546
Tritanopia (blue-blind)
#591D2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541b47;
/* rgb */ color: rgb(84, 27, 71);
/* oklch */ color: oklch(32.8% 0.102 337.7);
Tailwind
colors: {
  custom: {
    50: '#865c7a',
    500: '#541b47',
    950: '#000000',
  },
}
SCSS
$custom: #541b47;
$custom-light: #865c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#541b47",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 313.684,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32831,
    "c": 0.10222,
    "h": 337.7
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#541B47
secondary
#418A52
accent
#DB6D4D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #541B47

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

Preview Lab → · Contrast checker → · Palette generator →

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