#541E8A#541E8A

#541E8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.166 H 301.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#541E8A
RGBrgb(84, 30, 138)
HSLhsl(270, 64%, 33%)
HSVhsv(270, 78%, 54%)
CMYKcmyk(39.1%, 78.3%, 0%, 45.9%)
CIE-LABlab(25.71, 45.62, -49.70)
CIE-LCHlch(25.71, 67.46, 312.55°)
OKLaboklab(38.02% 0.0866 -0.1419)
OKLCHoklch(38.02% 0.166 301.4)
XYZxyz(8.7068, 4.6483, 24.4783)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E8A #548A1E
analogous
#1E1E8A #541E8A #8A1E8A
triadic
#541E8A #8A541E #1E8A54
tetradic
#541E8A #8A1E1E #548A1E #1E8A8A
square
#541E8A #8A1E1E #548A1E #1E8A8A
split-complementary
#541E8A #8A8A1E #1E8A1E
monochromatic
#170825 #351358 #541E8A #7329BC #914BD8

Accessibility & contrast

On white

10.88
#541E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#541E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E8A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E8A#FFFFFF#000000##FFFFFF
##541E8A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#483A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #541e8a;
/* rgb */ color: rgb(84, 30, 138);
/* oklch */ color: oklch(38.0% 0.166 301.4);
Tailwind
colors: {
  custom: {
    50: '#8a60ad',
    500: '#541e8a',
    950: '#000000',
  },
}
SCSS
$custom: #541e8a;
$custom-light: #8a60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#541e8a",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 270,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38019,
    "c": 0.16625,
    "h": 301.4
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#541E8A
secondary
#82BA4A
accent
#E74194
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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