#541A5D#541A5D

#541A5D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.124 H 322.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#541A5D
RGBrgb(84, 26, 93)
HSLhsl(292, 56%, 23%)
HSVhsv(292, 72%, 36%)
CMYKcmyk(9.7%, 72%, 0%, 63.5%)
CIE-LABlab(21.63, 36.89, -27.40)
CIE-LCHlch(21.63, 45.96, 323.40°)
OKLaboklab(34.04% 0.0979 -0.0764)
OKLCHoklch(34.04% 0.124 322)
XYZxyz(6.0011, 3.4142, 10.6967)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A5D #235D1A
analogous
#321A5D #541A5D #5D1A44
triadic
#541A5D #5D541A #1A5D54
tetradic
#541A5D #5D321A #235D1A #1A445D
square
#541A5D #5D321A #235D1A #1A445D
split-complementary
#541A5D #445D1A #1A5D32
monochromatic
#160718 #290D2D #541A5D #7F278D #AA35BD

Accessibility & contrast

On white

12.48
#541A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#541A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A5D
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A5D#FFFFFF#000000##FFFFFF
##541A5D1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06305F
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#552539
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541a5d;
/* rgb */ color: rgb(84, 26, 93);
/* oklch */ color: oklch(34.0% 0.124 322.0);
Tailwind
colors: {
  custom: {
    50: '#875c8b',
    500: '#541a5d',
    950: '#000000',
  },
}
SCSS
$custom: #541a5d;
$custom-light: #875c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#541a5d",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 291.94,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34039,
    "c": 0.12422,
    "h": 322
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#541A5D
secondary
#4B9340
accent
#E0485D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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