#541B4D#541B4D

#541B4D is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.107 H 332.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#541B4D
RGBrgb(84, 27, 77)
HSLhsl(307, 51%, 22%)
HSVhsv(307, 68%, 33%)
CMYKcmyk(0%, 67.9%, 8.3%, 67.1%)
CIE-LABlab(20.85, 33.25, -17.92)
CIE-LCHlch(20.85, 37.77, 331.67°)
OKLaboklab(33.16% 0.0956 -0.049)
OKLCHoklch(33.16% 0.107 332.9)
XYZxyz(5.3877, 3.2049, 7.3546)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B4D #1B5422
analogous
#3F1B54 #541B4D #541B31
triadic
#541B4D #4D541B #1B4D54
tetradic
#541B4D #543F1B #1B5422 #1B3154
square
#541B4D #543F1B #1B5422 #1B3154
split-complementary
#541B4D #31541B #1B543F
monochromatic
#170715 #260C23 #541B4D #822A77 #B139A2

Accessibility & contrast

On white

12.80
#541B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#541B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B4D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B4D#FFFFFF#000000##FFFFFF
##541B4D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4F
Deuteranopia (green-blind)
#2C354C
Tritanopia (blue-blind)
#582031
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541b4d;
/* rgb */ color: rgb(84, 27, 77);
/* oklch */ color: oklch(33.2% 0.107 332.9);
Tailwind
colors: {
  custom: {
    50: '#865c7f',
    500: '#541b4d',
    950: '#000000',
  },
}
SCSS
$custom: #541b4d;
$custom-light: #865c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#541b4d",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 307.368,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.10744,
    "h": 332.9
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#541B4D
secondary
#418A4A
accent
#DB5E4D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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