#541A5A#541A5A

#541A5A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.8% C 0.121 H 323.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#541A5A
RGBrgb(84, 26, 90)
HSLhsl(294, 55%, 23%)
HSVhsv(294, 71%, 35%)
CMYKcmyk(6.7%, 71.1%, 0%, 64.7%)
CIE-LABlab(21.44, 36.27, -25.72)
CIE-LCHlch(21.44, 44.46, 324.66°)
OKLaboklab(33.84% 0.0979 -0.0715)
OKLCHoklch(33.84% 0.121 323.9)
XYZxyz(5.8709, 3.3621, 10.0106)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A5A #205A1A
analogous
#341A5A #541A5A #5A1A40
triadic
#541A5A #5A541A #1A5A54
tetradic
#541A5A #5A341A #205A1A #1A405A
square
#541A5A #5A341A #205A1A #1A405A
split-complementary
#541A5A #405A1A #1A5A34
monochromatic
#160718 #280C2B #541A5A #802889 #AD35B9

Accessibility & contrast

On white

12.56
#541A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#541A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A5A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A5A#FFFFFF#000000##FFFFFF
##541A5A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#253658
Tritanopia (blue-blind)
#562437
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541a5a;
/* rgb */ color: rgb(84, 26, 90);
/* oklch */ color: oklch(33.8% 0.121 323.9);
Tailwind
colors: {
  custom: {
    50: '#865c89',
    500: '#541a5a',
    950: '#000000',
  },
}
SCSS
$custom: #541a5a;
$custom-light: #865c89;
$custom-dark: #000000;
JSON
{
  "hex": "#541a5a",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 294.375,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33839,
    "c": 0.12127,
    "h": 323.9
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#541A5A
secondary
#479040
accent
#DF4957
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #541A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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