#541A4C#541A4C

#541A4C is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.108 H 333.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#541A4C
RGBrgb(84, 26, 76)
HSLhsl(308, 53%, 22%)
HSVhsv(308, 69%, 33%)
CMYKcmyk(0%, 69%, 9.5%, 67.1%)
CIE-LABlab(20.62, 33.54, -17.60)
CIE-LCHlch(20.62, 37.88, 332.31°)
OKLaboklab(32.98% 0.0969 -0.0481)
OKLCHoklch(32.98% 0.108 333.6)
XYZxyz(5.3301, 3.1458, 7.1626)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A4C #1A5422
analogous
#3F1A54 #541A4C #541A2F
triadic
#541A4C #4C541A #1A4C54
tetradic
#541A4C #543F1A #1A5422 #1A2F54
square
#541A4C #543F1A #1A5422 #1A2F54
split-complementary
#541A4C #2F541A #1A543F
monochromatic
#170715 #250C22 #541A4C #832876 #B137A1

Accessibility & contrast

On white

12.89
#541A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541A4C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A4C#FFFFFF#000000##FFFFFF
##541A4C1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4D
Deuteranopia (green-blind)
#2C354B
Tritanopia (blue-blind)
#581E30
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541a4c;
/* rgb */ color: rgb(84, 26, 76);
/* oklch */ color: oklch(33.0% 0.108 333.6);
Tailwind
colors: {
  custom: {
    50: '#865b7e',
    500: '#541a4c',
    950: '#000000',
  },
}
SCSS
$custom: #541a4c;
$custom-light: #865b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#541a4c",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 308.276,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32978,
    "c": 0.10814,
    "h": 333.6
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#541A4C
secondary
#408A4A
accent
#DC604C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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