#541E81#541E81

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

Color values

HEX#541E81
RGBrgb(84, 30, 129)
HSLhsl(273, 62%, 31%)
HSVhsv(273, 77%, 51%)
CMYKcmyk(34.9%, 76.7%, 0%, 49.4%)
CIE-LABlab(24.95, 43.37, -45.30)
CIE-LCHlch(24.95, 62.71, 313.76°)
OKLaboklab(37.25% 0.0888 -0.129)
OKLCHoklch(37.25% 0.157 304.6)
XYZxyz(8.0820, 4.3984, 21.1878)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E81 #4B811E
analogous
#221E81 #541E81 #811E7C
triadic
#541E81 #81541E #1E8154
tetradic
#541E81 #81221E #4B811E #1E7C81
square
#541E81 #81221E #4B811E #1E7C81
split-complementary
#541E81 #7C811E #1E8122
monochromatic
#13071E #34124F #541E81 #742AB3 #9346D4

Accessibility & contrast

On white

11.17
#541E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#541E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E81
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E81#FFFFFF#000000##FFFFFF
##541E811.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#4B364E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541e81;
/* rgb */ color: rgb(84, 30, 129);
/* oklch */ color: oklch(37.2% 0.157 304.6);
Tailwind
colors: {
  custom: {
    50: '#8960a6',
    500: '#541e81',
    950: '#000000',
  },
}
SCSS
$custom: #541e81;
$custom-light: #8960a6;
$custom-dark: #000000;
JSON
{
  "hex": "#541e81",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 272.727,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.15659,
    "h": 304.6
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#541E81
secondary
#78B447
accent
#E5428C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541E81

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

Preview Lab → · Contrast checker → · Palette generator →

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