#541D83#541D83

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

Color values

HEX#541D83
RGBrgb(84, 29, 131)
HSLhsl(272, 64%, 31%)
HSVhsv(272, 78%, 51%)
CMYKcmyk(35.9%, 77.9%, 0%, 48.6%)
CIE-LABlab(24.96, 44.31, -46.54)
CIE-LCHlch(24.96, 64.26, 313.59°)
OKLaboklab(37.31% 0.0893 -0.1326)
OKLCHoklch(37.31% 0.16 304)
XYZxyz(8.1913, 4.4023, 21.8865)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D83 #4C831D
analogous
#211D83 #541D83 #831D7F
triadic
#541D83 #83541D #1D8354
tetradic
#541D83 #83211D #4C831D #1D7F83
square
#541D83 #83211D #4C831D #1D7F83
split-complementary
#541D83 #7F831D #1D8321
monochromatic
#14071F #341251 #541D83 #7428B5 #9345D6

Accessibility & contrast

On white

11.17
#541D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#541D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D83
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D83#FFFFFF#000000##FFFFFF
##541D831.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541d83;
/* rgb */ color: rgb(84, 29, 131);
/* oklch */ color: oklch(37.3% 0.160 304.0);
Tailwind
colors: {
  custom: {
    50: '#895fa8',
    500: '#541d83',
    950: '#000000',
  },
}
SCSS
$custom: #541d83;
$custom-light: #895fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#541d83",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 272.353,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37307,
    "c": 0.15988,
    "h": 304
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#541D83
secondary
#79B646
accent
#E7418D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541D83

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

Preview Lab → · Contrast checker → · Palette generator →

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