#541A60#541A60

#541A60 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.127 H 320.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#541A60
RGBrgb(84, 26, 96)
HSLhsl(290, 57%, 24%)
HSVhsv(290, 73%, 38%)
CMYKcmyk(12.5%, 72.9%, 0%, 62.4%)
CIE-LABlab(21.83, 37.53, -29.07)
CIE-LCHlch(21.83, 47.47, 322.24°)
OKLaboklab(34.24% 0.0978 -0.0813)
OKLCHoklch(34.24% 0.127 320.3)
XYZxyz(6.1366, 3.4684, 11.4103)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A60 #26601A
analogous
#311A60 #541A60 #601A49
triadic
#541A60 #60541A #1A6054
tetradic
#541A60 #60311A #26601A #1A4960
square
#541A60 #60311A #26601A #1A4960
split-complementary
#541A60 #49601A #1A6031
monochromatic
#150718 #2A0D30 #541A60 #7E2790 #A834C0

Accessibility & contrast

On white

12.40
#541A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#541A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A60
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A60#FFFFFF#000000##FFFFFF
##541A601.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013062
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#54273B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541a60;
/* rgb */ color: rgb(84, 26, 96);
/* oklch */ color: oklch(34.2% 0.127 320.3);
Tailwind
colors: {
  custom: {
    50: '#875c8d',
    500: '#541a60',
    950: '#000000',
  },
}
SCSS
$custom: #541a60;
$custom-light: #875c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#541a60",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 289.714,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34245,
    "c": 0.12721,
    "h": 320.3
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#541A60
secondary
#4F9640
accent
#E14761
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541A60

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

Preview Lab → · Contrast checker → · Palette generator →

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