#541379#541379

#541379 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.160 H 309.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#541379
RGBrgb(84, 19, 121)
HSLhsl(278, 73%, 27%)
HSVhsv(278, 84%, 47%)
CMYKcmyk(30.6%, 84.3%, 0%, 52.5%)
CIE-LABlab(22.76, 45.84, -43.78)
CIE-LCHlch(22.76, 63.39, 316.32°)
OKLaboklab(35.5% 0.1007 -0.1244)
OKLCHoklch(35.5% 0.16 309)
XYZxyz(7.3395, 3.7312, 18.4190)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541379 #387913
analogous
#211379 #541379 #79136B
triadic
#541379 #795413 #137954
tetradic
#541379 #792113 #387913 #136B79
square
#541379 #792113 #387913 #136B79
split-complementary
#541379 #6B7913 #137921
monochromatic
#12041A #2F0B44 #541379 #791BAE #9C29DD

Accessibility & contrast

On white

12.03
#541379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#541379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541379
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541379#FFFFFF#000000##FFFFFF
##5413791.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#4E2E47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541379;
/* rgb */ color: rgb(84, 19, 121);
/* oklch */ color: oklch(35.5% 0.160 309.0);
Tailwind
colors: {
  custom: {
    50: '#895aa0',
    500: '#541379',
    950: '#000000',
  },
}
SCSS
$custom: #541379;
$custom-light: #895aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#541379",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 278.235,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.16003,
    "h": 309
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#541379
secondary
#64AF39
accent
#F0387B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541379

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

Preview Lab → · Contrast checker → · Palette generator →

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