#541E80#541E80

#541E80 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.156 H 304.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#541E80
RGBrgb(84, 30, 128)
HSLhsl(273, 62%, 31%)
HSVhsv(273, 77%, 50%)
CMYKcmyk(34.4%, 76.6%, 0%, 49.8%)
CIE-LABlab(24.86, 43.13, -44.80)
CIE-LCHlch(24.86, 62.19, 313.91°)
OKLaboklab(37.16% 0.089 -0.1275)
OKLCHoklch(37.16% 0.156 304.9)
XYZxyz(8.0158, 4.3719, 20.8395)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E80 #4A801E
analogous
#231E80 #541E80 #801E7B
triadic
#541E80 #80541E #1E8054
tetradic
#541E80 #80231E #4A801E #1E7B80
square
#541E80 #80231E #4A801E #1E7B80
split-complementary
#541E80 #7B801E #1E8023
monochromatic
#13071D #33124E #541E80 #752AB2 #9345D3

Accessibility & contrast

On white

11.20
#541E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#541E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E80
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E80#FFFFFF#000000##FFFFFF
##541E801.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#4C364D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541e80;
/* rgb */ color: rgb(84, 30, 128);
/* oklch */ color: oklch(37.2% 0.156 304.9);
Tailwind
colors: {
  custom: {
    50: '#8960a6',
    500: '#541e80',
    950: '#000000',
  },
}
SCSS
$custom: #541e80;
$custom-light: #8960a6;
$custom-dark: #000000;
JSON
{
  "hex": "#541e80",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 273.061,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37163,
    "c": 0.15551,
    "h": 304.9
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#541E80
secondary
#77B347
accent
#E5438C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541E80

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

Preview Lab → · Contrast checker → · Palette generator →

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