#541479#541479

#541479 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.159 H 308.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#541479
RGBrgb(84, 20, 121)
HSLhsl(278, 72%, 28%)
HSVhsv(278, 83%, 47%)
CMYKcmyk(30.6%, 83.5%, 0%, 52.5%)
CIE-LABlab(22.88, 45.49, -43.59)
CIE-LCHlch(22.88, 63.00, 316.23°)
OKLaboklab(35.59% 0.0999 -0.1238)
OKLCHoklch(35.59% 0.159 308.9)
XYZxyz(7.3568, 3.7657, 18.4248)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541479 #397914
analogous
#221479 #541479 #79146B
triadic
#541479 #795414 #147954
tetradic
#541479 #792214 #397914 #146B79
square
#541479 #792214 #397914 #146B79
split-complementary
#541479 #6B7914 #147922
monochromatic
#12041A #300B44 #541479 #781DAE #9B2BDC

Accessibility & contrast

On white

11.98
#541479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541479
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541479#FFFFFF#000000##FFFFFF
##5414791.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541479;
/* rgb */ color: rgb(84, 20, 121);
/* oklch */ color: oklch(35.6% 0.159 308.9);
Tailwind
colors: {
  custom: {
    50: '#895ba0',
    500: '#541479',
    950: '#000000',
  },
}
SCSS
$custom: #541479;
$custom-light: #895ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#541479",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 278.02,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.15909,
    "h": 308.9
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#541479
secondary
#65AF3A
accent
#EE397C
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541479

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

Preview Lab → · Contrast checker → · Palette generator →

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