#541E7D#541E7D

#541E7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.152 H 306.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#541E7D
RGBrgb(84, 30, 125)
HSLhsl(274, 61%, 30%)
HSVhsv(274, 76%, 49%)
CMYKcmyk(32.8%, 76%, 0%, 51%)
CIE-LABlab(24.62, 42.39, -43.30)
CIE-LCHlch(24.62, 60.60, 314.39°)
OKLaboklab(36.91% 0.0897 -0.1231)
OKLCHoklch(36.91% 0.152 306.1)
XYZxyz(7.8213, 4.2941, 19.8149)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E7D #477D1E
analogous
#241E7D #541E7D #7D1E76
triadic
#541E7D #7D541E #1E7D54
tetradic
#541E7D #7D241E #477D1E #1E767D
square
#541E7D #7D241E #477D1E #1E767D
split-complementary
#541E7D #767D1E #1E7D24
monochromatic
#12061A #33124C #541E7D #752AAE #9443D2

Accessibility & contrast

On white

11.30
#541E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#541E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E7D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E7D#FFFFFF#000000##FFFFFF
##541E7D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#4D354C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541e7d;
/* rgb */ color: rgb(84, 30, 125);
/* oklch */ color: oklch(36.9% 0.152 306.1);
Tailwind
colors: {
  custom: {
    50: '#8860a3',
    500: '#541e7d',
    950: '#000000',
  },
}
SCSS
$custom: #541e7d;
$custom-light: #8860a3;
$custom-dark: #000000;
JSON
{
  "hex": "#541e7d",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 274.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36914,
    "c": 0.15228,
    "h": 306.1
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#541E7D
secondary
#74B046
accent
#E44389
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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