#541A86#541A86

#541A86 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.166 H 303.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#541A86
RGBrgb(84, 26, 134)
HSLhsl(272, 68%, 31%)
HSVhsv(272, 81%, 53%)
CMYKcmyk(37.3%, 80.6%, 0%, 47.5%)
CIE-LABlab(24.78, 46.30, -48.71)
CIE-LCHlch(24.78, 67.20, 313.54°)
OKLaboklab(37.26% 0.0912 -0.139)
OKLCHoklch(37.26% 0.166 303.3)
XYZxyz(8.3276, 4.3448, 22.9495)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A86 #4C861A
analogous
#1E1A86 #541A86 #861A82
triadic
#541A86 #86541A #1A8654
tetradic
#541A86 #861E1A #4C861A #1A8286
square
#541A86 #861E1A #4C861A #1A8286
split-complementary
#541A86 #82861A #1A861E
monochromatic
#14061F #341053 #541A86 #7424B9 #9340DA

Accessibility & contrast

On white

11.24
#541A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#541A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A86
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A86#FFFFFF#000000##FFFFFF
##541A861.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541a86;
/* rgb */ color: rgb(84, 26, 134);
/* oklch */ color: oklch(37.3% 0.166 303.3);
Tailwind
colors: {
  custom: {
    50: '#895eaa',
    500: '#541a86',
    950: '#000000',
  },
}
SCSS
$custom: #541a86;
$custom-light: #895eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#541a86",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 272.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.16624,
    "h": 303.3
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#541A86
secondary
#79B942
accent
#EA3D8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541A86

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

Preview Lab → · Contrast checker → · Palette generator →

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