#541A85#541A85

#541A85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.165 H 303.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#541A85
RGBrgb(84, 26, 133)
HSLhsl(273, 67%, 31%)
HSVhsv(273, 80%, 52%)
CMYKcmyk(36.8%, 80.5%, 0%, 47.8%)
CIE-LABlab(24.69, 46.05, -48.23)
CIE-LCHlch(24.69, 66.68, 313.68°)
OKLaboklab(37.17% 0.0915 -0.1375)
OKLCHoklch(37.17% 0.165 303.6)
XYZxyz(8.2582, 4.3171, 22.5840)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A85 #4B851A
analogous
#1E1A85 #541A85 #851A80
triadic
#541A85 #85541A #1A8554
tetradic
#541A85 #851E1A #4B851A #1A8085
square
#541A85 #851E1A #4B851A #1A8085
split-complementary
#541A85 #80851A #1A851E
monochromatic
#13061F #341052 #541A85 #7424B8 #9340DA

Accessibility & contrast

On white

11.27
#541A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#541A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A85
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A85#FFFFFF#000000##FFFFFF
##541A851.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#4A364F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541a85;
/* rgb */ color: rgb(84, 26, 133);
/* oklch */ color: oklch(37.2% 0.165 303.6);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#541a85',
    950: '#000000',
  },
}
SCSS
$custom: #541a85;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#541a85",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 272.523,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.16521,
    "h": 303.6
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#541A85
secondary
#78B842
accent
#EA3E8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541A85

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

Preview Lab → · Contrast checker → · Palette generator →

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