#541C4F#541C4F

#541C4F is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.4% C 0.108 H 331.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#541C4F
RGBrgb(84, 28, 79)
HSLhsl(305, 50%, 22%)
HSVhsv(305, 67%, 33%)
CMYKcmyk(0%, 66.7%, 6%, 67.1%)
CIE-LABlab(21.13, 33.14, -18.83)
CIE-LCHlch(21.13, 38.11, 330.40°)
OKLaboklab(33.41% 0.0945 -0.0516)
OKLCHoklch(33.41% 0.108 331.4)
XYZxyz(5.4827, 3.2802, 7.7400)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C4F #1C5421
analogous
#3D1C54 #541C4F #541C33
triadic
#541C4F #4F541C #1C4F54
tetradic
#541C4F #543D1C #1C5421 #1C3354
square
#541C4F #543D1C #1C5421 #1C3354
split-complementary
#541C4F #33541C #1C543D
monochromatic
#170816 #260D24 #541C4F #822B7A #B03BA5

Accessibility & contrast

On white

12.68
#541C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#541C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C4F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C4F#FFFFFF#000000##FFFFFF
##541C4F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E51
Deuteranopia (green-blind)
#2C364E
Tritanopia (blue-blind)
#572132
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541c4f;
/* rgb */ color: rgb(84, 28, 79);
/* oklch */ color: oklch(33.4% 0.108 331.4);
Tailwind
colors: {
  custom: {
    50: '#865d80',
    500: '#541c4f',
    950: '#000000',
  },
}
SCSS
$custom: #541c4f;
$custom-light: #865d80;
$custom-dark: #000000;
JSON
{
  "hex": "#541c4f",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 305.357,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.10765,
    "h": 331.4
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#541C4F
secondary
#428A49
accent
#DA5B4E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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