#541884#541884

#541884 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.166 H 304.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#541884
RGBrgb(84, 24, 132)
HSLhsl(273, 69%, 31%)
HSVhsv(273, 82%, 52%)
CMYKcmyk(36.4%, 81.8%, 0%, 48.2%)
CIE-LABlab(24.34, 46.60, -48.18)
CIE-LCHlch(24.34, 67.03, 314.04°)
OKLaboklab(36.9% 0.0935 -0.1374)
OKLCHoklch(36.9% 0.166 304.2)
XYZxyz(8.1467, 4.2041, 22.2076)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541884 #488418
analogous
#1E1884 #541884 #84187E
triadic
#541884 #845418 #188454
tetradic
#541884 #841E18 #488418 #187E84
square
#541884 #841E18 #488418 #187E84
split-complementary
#541884 #7E8418 #18841E
monochromatic
#12051C #330F50 #541884 #7521B8 #943BDB

Accessibility & contrast

On white

11.41
#541884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#541884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541884
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541884#FFFFFF#000000##FFFFFF
##5418841.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#4A354E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541884;
/* rgb */ color: rgb(84, 24, 132);
/* oklch */ color: oklch(36.9% 0.166 304.2);
Tailwind
colors: {
  custom: {
    50: '#895da9',
    500: '#541884',
    950: '#000000',
  },
}
SCSS
$custom: #541884;
$custom-light: #895da9;
$custom-dark: #000000;
JSON
{
  "hex": "#541884",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 273.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36897,
    "c": 0.16619,
    "h": 304.2
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#541884
secondary
#75B840
accent
#EC3C8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541884

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

Preview Lab → · Contrast checker → · Palette generator →

#541884 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva