#541B85#541B85

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

Color values

HEX#541B85
RGBrgb(84, 27, 133)
HSLhsl(272, 66%, 31%)
HSVhsv(272, 80%, 52%)
CMYKcmyk(36.8%, 79.7%, 0%, 47.8%)
CIE-LABlab(24.83, 45.65, -48.00)
CIE-LCHlch(24.83, 66.24, 313.56°)
OKLaboklab(37.27% 0.0907 -0.1369)
OKLCHoklch(37.27% 0.164 303.5)
XYZxyz(8.2807, 4.3621, 22.5915)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B85 #4C851B
analogous
#1F1B85 #541B85 #851B81
triadic
#541B85 #85541B #1B8554
tetradic
#541B85 #851F1B #4C851B #1B8185
square
#541B85 #851F1B #4C851B #1B8185
split-complementary
#541B85 #81851B #1B851F
monochromatic
#14061F #341152 #541B85 #7425B8 #9342D9

Accessibility & contrast

On white

11.22
#541B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B85
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B85#FFFFFF#000000##FFFFFF
##541B851.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.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: #541b85;
/* rgb */ color: rgb(84, 27, 133);
/* oklch */ color: oklch(37.3% 0.164 303.5);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#541b85',
    950: '#000000',
  },
}
SCSS
$custom: #541b85;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#541b85",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 272.264,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37273,
    "c": 0.16417,
    "h": 303.5
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#541B85
secondary
#79B844
accent
#E93F8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541B85

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

Preview Lab → · Contrast checker → · Palette generator →

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