#541D86#541D86

#541D86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.163 H 302.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#541D86
RGBrgb(84, 29, 134)
HSLhsl(271, 64%, 32%)
HSVhsv(271, 78%, 53%)
CMYKcmyk(37.3%, 78.4%, 0%, 47.5%)
CIE-LABlab(25.21, 45.05, -48.01)
CIE-LCHlch(25.21, 65.83, 313.18°)
OKLaboklab(37.57% 0.0886 -0.1369)
OKLCHoklch(37.57% 0.163 302.9)
XYZxyz(8.3976, 4.4848, 22.9729)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D86 #4F861D
analogous
#201D86 #541D86 #861D83
triadic
#541D86 #86541D #1D8654
tetradic
#541D86 #86201D #4F861D #1D8386
square
#541D86 #86201D #4F861D #1D8386
split-complementary
#541D86 #83861D #1D8620
monochromatic
#150721 #341254 #541D86 #7428B8 #9246D7

Accessibility & contrast

On white

11.07
#541D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#541D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D86
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D86#FFFFFF#000000##FFFFFF
##541D861.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#4A3851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #541d86;
/* rgb */ color: rgb(84, 29, 134);
/* oklch */ color: oklch(37.6% 0.163 302.9);
Tailwind
colors: {
  custom: {
    50: '#895faa',
    500: '#541d86',
    950: '#000000',
  },
}
SCSS
$custom: #541d86;
$custom-light: #895faa;
$custom-dark: #000000;
JSON
{
  "hex": "#541d86",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 271.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.16307,
    "h": 302.9
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#541D86
secondary
#7DB946
accent
#E74090
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541D86

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

Preview Lab → · Contrast checker → · Palette generator →

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