#541E86#541E86

#541E86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.162 H 302.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#541E86
RGBrgb(84, 30, 134)
HSLhsl(271, 63%, 32%)
HSVhsv(271, 78%, 53%)
CMYKcmyk(37.3%, 77.6%, 0%, 47.5%)
CIE-LABlab(25.37, 44.61, -47.76)
CIE-LCHlch(25.37, 65.36, 313.05°)
OKLaboklab(37.67% 0.0877 -0.1362)
OKLCHoklch(37.67% 0.162 302.8)
XYZxyz(8.4225, 4.5346, 22.9812)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E86 #50861E
analogous
#201E86 #541E86 #861E84
triadic
#541E86 #86541E #1E8654
tetradic
#541E86 #86201E #50861E #1E8486
square
#541E86 #86201E #50861E #1E8486
split-complementary
#541E86 #84861E #1E8620
monochromatic
#150822 #351354 #541E86 #7329B8 #9248D6

Accessibility & contrast

On white

11.01
#541E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#541E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E86
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E86#FFFFFF#000000##FFFFFF
##541E861.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#4A3951
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #541e86;
/* rgb */ color: rgb(84, 30, 134);
/* oklch */ color: oklch(37.7% 0.162 302.8);
Tailwind
colors: {
  custom: {
    50: '#8960aa',
    500: '#541e86',
    950: '#000000',
  },
}
SCSS
$custom: #541e86;
$custom-light: #8960aa;
$custom-dark: #000000;
JSON
{
  "hex": "#541e86",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 271.154,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.16196,
    "h": 302.8
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#541E86
secondary
#7EB847
accent
#E64191
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541E86

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

Preview Lab → · Contrast checker → · Palette generator →

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