#541A4F#541A4F

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

Color values

HEX#541A4F
RGBrgb(84, 26, 79)
HSLhsl(305, 53%, 22%)
HSVhsv(305, 69%, 33%)
CMYKcmyk(0%, 69%, 6%, 67.1%)
CIE-LABlab(20.78, 34.10, -19.38)
CIE-LCHlch(20.78, 39.22, 330.40°)
OKLaboklab(33.15% 0.0973 -0.0532)
OKLCHoklch(33.15% 0.111 331.3)
XYZxyz(5.4368, 3.1885, 7.7247)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A4F #1A541F
analogous
#3C1A54 #541A4F #541A32
triadic
#541A4F #4F541A #1A4F54
tetradic
#541A4F #543C1A #1A541F #1A3254
square
#541A4F #543C1A #1A541F #1A3254
split-complementary
#541A4F #32541A #1A543C
monochromatic
#170716 #250C23 #541A4F #83287B #B137A7

Accessibility & contrast

On white

12.82
#541A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541A4F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A4F#FFFFFF#000000##FFFFFF
##541A4F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D51
Deuteranopia (green-blind)
#2A354D
Tritanopia (blue-blind)
#582032
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541a4f;
/* rgb */ color: rgb(84, 26, 79);
/* oklch */ color: oklch(33.2% 0.111 331.3);
Tailwind
colors: {
  custom: {
    50: '#865b80',
    500: '#541a4f',
    950: '#000000',
  },
}
SCSS
$custom: #541a4f;
$custom-light: #865b80;
$custom-dark: #000000;
JSON
{
  "hex": "#541a4f",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 305.172,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33151,
    "c": 0.11084,
    "h": 331.3
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#541A4F
secondary
#408A46
accent
#DC584C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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