#541E82#541E82

#541E82 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.158 H 304.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#541E82
RGBrgb(84, 30, 130)
HSLhsl(272, 63%, 31%)
HSVhsv(272, 77%, 51%)
CMYKcmyk(35.4%, 76.9%, 0%, 49%)
CIE-LABlab(25.03, 43.62, -45.79)
CIE-LCHlch(25.03, 63.24, 313.61°)
OKLaboklab(37.33% 0.0886 -0.1304)
OKLCHoklch(37.33% 0.158 304.2)
XYZxyz(8.1488, 4.4251, 21.5396)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E82 #4C821E
analogous
#221E82 #541E82 #821E7E
triadic
#541E82 #82541E #1E8254
tetradic
#541E82 #82221E #4C821E #1E7E82
square
#541E82 #82221E #4C821E #1E7E82
split-complementary
#541E82 #7E821E #1E8222
monochromatic
#14071F #341350 #541E82 #7429B4 #9346D4

Accessibility & contrast

On white

11.14
#541E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541E82
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E82#FFFFFF#000000##FFFFFF
##541E821.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#4B374F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541e82;
/* rgb */ color: rgb(84, 30, 130);
/* oklch */ color: oklch(37.3% 0.158 304.2);
Tailwind
colors: {
  custom: {
    50: '#8960a7',
    500: '#541e82',
    950: '#000000',
  },
}
SCSS
$custom: #541e82;
$custom-light: #8960a7;
$custom-dark: #000000;
JSON
{
  "hex": "#541e82",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 272.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37331,
    "c": 0.15766,
    "h": 304.2
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#541E82
secondary
#79B547
accent
#E6428D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541E82

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

Preview Lab → · Contrast checker → · Palette generator →

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