#541E84#541E84

#541E84 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.160 H 303.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#541E84
RGBrgb(84, 30, 132)
HSLhsl(272, 63%, 32%)
HSVhsv(272, 77%, 52%)
CMYKcmyk(36.4%, 77.3%, 0%, 48.2%)
CIE-LABlab(25.20, 44.12, -46.78)
CIE-LCHlch(25.20, 64.30, 313.32°)
OKLaboklab(37.5% 0.0881 -0.1333)
OKLCHoklch(37.5% 0.16 303.5)
XYZxyz(8.2843, 4.4793, 22.2535)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E84 #4E841E
analogous
#211E84 #541E84 #841E81
triadic
#541E84 #84541E #1E8454
tetradic
#541E84 #84211E #4E841E #1E8184
square
#541E84 #84211E #4E841E #1E8184
split-complementary
#541E84 #81841E #1E8421
monochromatic
#150720 #341352 #541E84 #7429B6 #9247D5

Accessibility & contrast

On white

11.08
#541E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#541E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E84
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E84#FFFFFF#000000##FFFFFF
##541E841.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#4A3850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #541e84;
/* rgb */ color: rgb(84, 30, 132);
/* oklch */ color: oklch(37.5% 0.160 303.5);
Tailwind
colors: {
  custom: {
    50: '#8960a9',
    500: '#541e84',
    950: '#000000',
  },
}
SCSS
$custom: #541e84;
$custom-light: #8960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#541e84",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 271.765,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.15981,
    "h": 303.5
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#541E84
secondary
#7CB747
accent
#E6428F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541E84

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

Preview Lab → · Contrast checker → · Palette generator →

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