#541B50#541B50

#541B50 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.3% C 0.110 H 330.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#541B50
RGBrgb(84, 27, 80)
HSLhsl(304, 51%, 22%)
HSVhsv(304, 68%, 33%)
CMYKcmyk(0%, 67.9%, 4.8%, 67.1%)
CIE-LABlab(21.01, 33.81, -19.69)
CIE-LCHlch(21.01, 39.13, 329.78°)
OKLaboklab(33.34% 0.096 -0.0541)
OKLCHoklch(33.34% 0.11 330.6)
XYZxyz(5.4960, 3.2483, 7.9254)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B50 #1B541F
analogous
#3C1B54 #541B50 #541B34
triadic
#541B50 #50541B #1B5054
tetradic
#541B50 #543C1B #1B541F #1B3454
square
#541B50 #543C1B #1B541F #1B3454
split-complementary
#541B50 #34541B #1B543C
monochromatic
#170716 #260C24 #541B50 #822A7C #B139A8

Accessibility & contrast

On white

12.73
#541B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#541B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B50
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B50#FFFFFF#000000##FFFFFF
##541B501.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D52
Deuteranopia (green-blind)
#2B354E
Tritanopia (blue-blind)
#572132
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541b50;
/* rgb */ color: rgb(84, 27, 80);
/* oklch */ color: oklch(33.3% 0.110 330.6);
Tailwind
colors: {
  custom: {
    50: '#865c81',
    500: '#541b50',
    950: '#000000',
  },
}
SCSS
$custom: #541b50;
$custom-light: #865c81;
$custom-dark: #000000;
JSON
{
  "hex": "#541b50",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 304.211,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33336,
    "c": 0.11018,
    "h": 330.6
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#541B50
secondary
#418A46
accent
#DB574D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541B50

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

Preview Lab → · Contrast checker → · Palette generator →

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