#541A80#541A80

#541A80 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.160 H 305.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#541A80
RGBrgb(84, 26, 128)
HSLhsl(274, 66%, 30%)
HSVhsv(274, 80%, 50%)
CMYKcmyk(34.4%, 79.7%, 0%, 49.8%)
CIE-LABlab(24.26, 44.84, -45.78)
CIE-LCHlch(24.26, 64.08, 314.41°)
OKLaboklab(36.74% 0.0928 -0.1303)
OKLCHoklch(36.74% 0.16 305.5)
XYZxyz(7.9210, 4.1822, 20.8078)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A80 #46801A
analogous
#211A80 #541A80 #801A79
triadic
#541A80 #80541A #1A8054
tetradic
#541A80 #80211A #46801A #1A7980
square
#541A80 #80211A #46801A #1A7980
split-complementary
#541A80 #79801A #1A8021
monochromatic
#11051A #33104D #541A80 #7524B3 #953DD8

Accessibility & contrast

On white

11.44
#541A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#541A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A80
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A80#FFFFFF#000000##FFFFFF
##541A801.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#4C344C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541a80;
/* rgb */ color: rgb(84, 26, 128);
/* oklch */ color: oklch(36.7% 0.160 305.5);
Tailwind
colors: {
  custom: {
    50: '#895ea6',
    500: '#541a80',
    950: '#000000',
  },
}
SCSS
$custom: #541a80;
$custom-light: #895ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#541a80",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 274.118,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36741,
    "c": 0.16002,
    "h": 305.5
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#541A80
secondary
#73B442
accent
#E93F88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541A80

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

Preview Lab → · Contrast checker → · Palette generator →

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