#541A4E#541A4E

#541A4E is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.110 H 332.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#541A4E
RGBrgb(84, 26, 78)
HSLhsl(306, 53%, 22%)
HSVhsv(306, 69%, 33%)
CMYKcmyk(0%, 69%, 7.1%, 67.1%)
CIE-LABlab(20.73, 33.91, -18.79)
CIE-LCHlch(20.73, 38.77, 331.02°)
OKLaboklab(33.09% 0.0971 -0.0515)
OKLCHoklch(33.09% 0.11 332.1)
XYZxyz(5.4007, 3.1741, 7.5345)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A4E #1A5420
analogous
#3D1A54 #541A4E #541A31
triadic
#541A4E #4E541A #1A4E54
tetradic
#541A4E #543D1A #1A5420 #1A3154
square
#541A4E #543D1A #1A5420 #1A3154
split-complementary
#541A4E #31541A #1A543D
monochromatic
#170716 #250C23 #541A4E #832879 #B137A5

Accessibility & contrast

On white

12.85
#541A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541A4E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A4E#FFFFFF#000000##FFFFFF
##541A4E1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D50
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#581F31
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541a4e;
/* rgb */ color: rgb(84, 26, 78);
/* oklch */ color: oklch(33.1% 0.110 332.1);
Tailwind
colors: {
  custom: {
    50: '#865b80',
    500: '#541a4e',
    950: '#000000',
  },
}
SCSS
$custom: #541a4e;
$custom-light: #865b80;
$custom-dark: #000000;
JSON
{
  "hex": "#541a4e",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 306.207,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.10993,
    "h": 332.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#541A4E
secondary
#408A47
accent
#DC5B4C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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