#541D85#541D85

#541D85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.162 H 303.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#541D85
RGBrgb(84, 29, 133)
HSLhsl(272, 64%, 32%)
HSVhsv(272, 78%, 52%)
CMYKcmyk(36.8%, 78.2%, 0%, 47.8%)
CIE-LABlab(25.13, 44.80, -47.52)
CIE-LCHlch(25.13, 65.31, 313.31°)
OKLaboklab(37.48% 0.0888 -0.1355)
OKLCHoklch(37.48% 0.162 303.3)
XYZxyz(8.3282, 4.4570, 22.6073)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D85 #4E851D
analogous
#201D85 #541D85 #851D82
triadic
#541D85 #85541D #1D8554
tetradic
#541D85 #85201D #4E851D #1D8285
square
#541D85 #85201D #4E851D #1D8285
split-complementary
#541D85 #82851D #1D8520
monochromatic
#150721 #341253 #541D85 #7428B7 #9246D7

Accessibility & contrast

On white

11.10
#541D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#541D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D85
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D85#FFFFFF#000000##FFFFFF
##541D851.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#4A3850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #541d85;
/* rgb */ color: rgb(84, 29, 133);
/* oklch */ color: oklch(37.5% 0.162 303.3);
Tailwind
colors: {
  custom: {
    50: '#895fa9',
    500: '#541d85',
    950: '#000000',
  },
}
SCSS
$custom: #541d85;
$custom-light: #895fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#541d85",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 271.731,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37479,
    "c": 0.162,
    "h": 303.3
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#541D85
secondary
#7CB846
accent
#E7418F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541D85

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

Preview Lab → · Contrast checker → · Palette generator →

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