#541C85#541C85

#541C85 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.163 H 303.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#541C85
RGBrgb(84, 28, 133)
HSLhsl(272, 65%, 32%)
HSVhsv(272, 79%, 52%)
CMYKcmyk(36.8%, 78.9%, 0%, 47.8%)
CIE-LABlab(24.98, 45.23, -47.76)
CIE-LCHlch(24.98, 65.78, 313.44°)
OKLaboklab(37.37% 0.0898 -0.1362)
OKLCHoklch(37.37% 0.163 303.4)
XYZxyz(8.3041, 4.4088, 22.5993)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C85 #4D851C
analogous
#201C85 #541C85 #851C82
triadic
#541C85 #85541C #1C8554
tetradic
#541C85 #85201C #4D851C #1C8285
square
#541C85 #85201C #4D851C #1C8285
split-complementary
#541C85 #82851C #1C8520
monochromatic
#140720 #341152 #541C85 #7427B8 #9344D8

Accessibility & contrast

On white

11.16
#541C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C85
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C85#FFFFFF#000000##FFFFFF
##541C851.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#4A3750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541c85;
/* rgb */ color: rgb(84, 28, 133);
/* oklch */ color: oklch(37.4% 0.163 303.4);
Tailwind
colors: {
  custom: {
    50: '#895fa9',
    500: '#541c85',
    950: '#000000',
  },
}
SCSS
$custom: #541c85;
$custom-light: #895fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#541c85",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 272,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37374,
    "c": 0.1631,
    "h": 303.4
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#541C85
secondary
#7BB845
accent
#E8408E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541C85

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

Preview Lab → · Contrast checker → · Palette generator →

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