#541E85#541E85

#541E85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.161 H 303.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#541E85
RGBrgb(84, 30, 133)
HSLhsl(271, 63%, 32%)
HSVhsv(271, 77%, 52%)
CMYKcmyk(36.8%, 77.4%, 0%, 47.8%)
CIE-LABlab(25.28, 44.37, -47.27)
CIE-LCHlch(25.28, 64.83, 313.18°)
OKLaboklab(37.59% 0.0879 -0.1348)
OKLCHoklch(37.59% 0.161 303.1)
XYZxyz(8.3531, 4.5068, 22.6156)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E85 #4F851E
analogous
#201E85 #541E85 #851E83
triadic
#541E85 #85541E #1E8554
tetradic
#541E85 #85201E #4F851E #1E8385
square
#541E85 #85201E #4F851E #1E8385
split-complementary
#541E85 #83851E #1E8520
monochromatic
#150721 #341353 #541E85 #7429B7 #9248D6

Accessibility & contrast

On white

11.04
#541E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541E85
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E85#FFFFFF#000000##FFFFFF
##541E851.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541e85;
/* rgb */ color: rgb(84, 30, 133);
/* oklch */ color: oklch(37.6% 0.161 303.1);
Tailwind
colors: {
  custom: {
    50: '#8960a9',
    500: '#541e85',
    950: '#000000',
  },
}
SCSS
$custom: #541e85;
$custom-light: #8960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#541e85",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 271.456,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37586,
    "c": 0.16089,
    "h": 303.1
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#541E85
secondary
#7DB847
accent
#E64290
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541E85

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

Preview Lab → · Contrast checker → · Palette generator →

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