#541A84#541A84

#541A84 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.164 H 304.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#541A84
RGBrgb(84, 26, 132)
HSLhsl(273, 67%, 31%)
HSVhsv(273, 80%, 52%)
CMYKcmyk(36.4%, 80.3%, 0%, 48.2%)
CIE-LABlab(24.61, 45.81, -47.74)
CIE-LCHlch(24.61, 66.16, 313.82°)
OKLaboklab(37.09% 0.0918 -0.1361)
OKLCHoklch(37.09% 0.164 304)
XYZxyz(8.1894, 4.2896, 22.2219)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A84 #4A841A
analogous
#1F1A84 #541A84 #841A7F
triadic
#541A84 #84541A #1A8454
tetradic
#541A84 #841F1A #4A841A #1A7F84
square
#541A84 #841F1A #4A841A #1A7F84
split-complementary
#541A84 #7F841A #1A841F
monochromatic
#13061E #331051 #541A84 #7524B7 #933FD9

Accessibility & contrast

On white

11.30
#541A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#541A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A84
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A84#FFFFFF#000000##FFFFFF
##541A841.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#4A364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541a84;
/* rgb */ color: rgb(84, 26, 132);
/* oklch */ color: oklch(37.1% 0.164 304.0);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#541a84',
    950: '#000000',
  },
}
SCSS
$custom: #541a84;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#541a84",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 272.83,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37087,
    "c": 0.16417,
    "h": 304
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#541A84
secondary
#77B842
accent
#EA3E8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541A84

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

Preview Lab → · Contrast checker → · Palette generator →

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