#541E83#541E83

#541E83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.159 H 303.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#541E83
RGBrgb(84, 30, 131)
HSLhsl(272, 63%, 32%)
HSVhsv(272, 77%, 51%)
CMYKcmyk(35.9%, 77.1%, 0%, 48.6%)
CIE-LABlab(25.11, 43.87, -46.29)
CIE-LCHlch(25.11, 63.77, 313.46°)
OKLaboklab(37.42% 0.0884 -0.1319)
OKLCHoklch(37.42% 0.159 303.8)
XYZxyz(8.2162, 4.4521, 21.8948)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E83 #4D831E
analogous
#211E83 #541E83 #831E80
triadic
#541E83 #83541E #1E8354
tetradic
#541E83 #83211E #4D831E #1E8083
square
#541E83 #83211E #4D831E #1E8083
split-complementary
#541E83 #80831E #1E8321
monochromatic
#14071F #341351 #541E83 #7429B5 #9347D5

Accessibility & contrast

On white

11.11
#541E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#541E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E83
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E83#FFFFFF#000000##FFFFFF
##541E831.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#4B374F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #541e83;
/* rgb */ color: rgb(84, 30, 131);
/* oklch */ color: oklch(37.4% 0.159 303.8);
Tailwind
colors: {
  custom: {
    50: '#8960a8',
    500: '#541e83',
    950: '#000000',
  },
}
SCSS
$custom: #541e83;
$custom-light: #8960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#541e83",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 272.079,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.15874,
    "h": 303.8
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#541E83
secondary
#7BB647
accent
#E6428E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541E83

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

Preview Lab → · Contrast checker → · Palette generator →

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