#541C86#541C86

#541C86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.164 H 303.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#541C86
RGBrgb(84, 28, 134)
HSLhsl(272, 65%, 32%)
HSVhsv(272, 79%, 53%)
CMYKcmyk(37.3%, 79.1%, 0%, 47.5%)
CIE-LABlab(25.07, 45.48, -48.25)
CIE-LCHlch(25.07, 66.30, 313.31°)
OKLaboklab(37.46% 0.0895 -0.1376)
OKLCHoklch(37.46% 0.164 303)
XYZxyz(8.3735, 4.4366, 22.9648)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C86 #4E861C
analogous
#1F1C86 #541C86 #861C83
triadic
#541C86 #86541C #1C8654
tetradic
#541C86 #861F1C #4E861C #1C8386
square
#541C86 #861F1C #4E861C #1C8386
split-complementary
#541C86 #83861C #1C861F
monochromatic
#150721 #341153 #541C86 #7427B9 #9244D8

Accessibility & contrast

On white

11.13
#541C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C86
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C86#FFFFFF#000000##FFFFFF
##541C861.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#4A3850
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541c86;
/* rgb */ color: rgb(84, 28, 134);
/* oklch */ color: oklch(37.5% 0.164 303.0);
Tailwind
colors: {
  custom: {
    50: '#895faa',
    500: '#541c86',
    950: '#000000',
  },
}
SCSS
$custom: #541c86;
$custom-light: #895faa;
$custom-dark: #000000;
JSON
{
  "hex": "#541c86",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 271.698,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37461,
    "c": 0.16416,
    "h": 303
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#541C86
secondary
#7CB945
accent
#E83F8F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541C86

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

Preview Lab → · Contrast checker → · Palette generator →

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