#541A4D#541A4D

#541A4D is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.109 H 332.8°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#541A4D
RGBrgb(84, 26, 77)
HSLhsl(307, 53%, 22%)
HSVhsv(307, 69%, 33%)
CMYKcmyk(0%, 69%, 8.3%, 67.1%)
CIE-LABlab(20.67, 33.73, -18.19)
CIE-LCHlch(20.67, 38.32, 331.66°)
OKLaboklab(33.03% 0.097 -0.0498)
OKLCHoklch(33.03% 0.109 332.8)
XYZxyz(5.3651, 3.1598, 7.3471)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A4D #1A5421
analogous
#3E1A54 #541A4D #541A30
triadic
#541A4D #4D541A #1A4D54
tetradic
#541A4D #543E1A #1A5421 #1A3054
square
#541A4D #543E1A #1A5421 #1A3054
split-complementary
#541A4D #30541A #1A543E
monochromatic
#170715 #250C22 #541A4D #832878 #B137A3

Accessibility & contrast

On white

12.87
#541A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#541A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A4D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A4D#FFFFFF#000000##FFFFFF
##541A4D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4F
Deuteranopia (green-blind)
#2B354B
Tritanopia (blue-blind)
#581F30
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541a4d;
/* rgb */ color: rgb(84, 26, 77);
/* oklch */ color: oklch(33.0% 0.109 332.8);
Tailwind
colors: {
  custom: {
    50: '#865b7f',
    500: '#541a4d',
    950: '#000000',
  },
}
SCSS
$custom: #541a4d;
$custom-light: #865b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#541a4d",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 307.241,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.10904,
    "h": 332.8
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#541A4D
secondary
#408A49
accent
#DC5D4C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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