#541E79#541E79

#541E79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.148 H 307.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#541E79
RGBrgb(84, 30, 121)
HSLhsl(276, 60%, 30%)
HSVhsv(276, 75%, 47%)
CMYKcmyk(30.6%, 75.2%, 0%, 52.5%)
CIE-LABlab(24.30, 41.42, -41.28)
CIE-LCHlch(24.30, 58.47, 315.10°)
OKLaboklab(36.59% 0.0904 -0.1171)
OKLCHoklch(36.59% 0.148 307.7)
XYZxyz(7.5709, 4.1939, 18.4961)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E79 #43791E
analogous
#261E79 #541E79 #791E71
triadic
#541E79 #79541E #1E7954
tetradic
#541E79 #79261E #43791E #1E7179
square
#541E79 #79261E #43791E #1E7179
split-complementary
#541E79 #71791E #1E7926
monochromatic
#110619 #321248 #541E79 #762AAA #9641D0

Accessibility & contrast

On white

11.42
#541E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#541E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E79
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E79#FFFFFF#000000##FFFFFF
##541E791.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#4E3349
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541e79;
/* rgb */ color: rgb(84, 30, 121);
/* oklch */ color: oklch(36.6% 0.148 307.7);
Tailwind
colors: {
  custom: {
    50: '#885fa0',
    500: '#541e79',
    950: '#000000',
  },
}
SCSS
$custom: #541e79;
$custom-light: #885fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#541e79",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 275.604,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.14798,
    "h": 307.7
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#541E79
secondary
#70AD46
accent
#E34485
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #541E79

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

Preview Lab → · Contrast checker → · Palette generator →

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