#541C79#541C79

#541C79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.150 H 307.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#541C79
RGBrgb(84, 28, 121)
HSLhsl(276, 62%, 29%)
HSVhsv(276, 77%, 47%)
CMYKcmyk(30.6%, 76.9%, 0%, 52.5%)
CIE-LABlab(23.99, 42.31, -41.79)
CIE-LCHlch(23.99, 59.47, 315.36°)
OKLaboklab(36.36% 0.0925 -0.1186)
OKLCHoklch(36.36% 0.15 307.9)
XYZxyz(7.5219, 4.0959, 18.4798)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C79 #41791C
analogous
#261C79 #541C79 #791C70
triadic
#541C79 #79541C #1C7954
tetradic
#541C79 #79261C #41791C #1C7079
square
#541C79 #79261C #41791C #1C7079
split-complementary
#541C79 #70791C #1C7926
monochromatic
#110619 #311047 #541C79 #7728AB #973DD2

Accessibility & contrast

On white

11.54
#541C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#541C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C79
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C79#FFFFFF#000000##FFFFFF
##541C791.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#4E3249
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541c79;
/* rgb */ color: rgb(84, 28, 121);
/* oklch */ color: oklch(36.4% 0.150 307.9);
Tailwind
colors: {
  custom: {
    50: '#885ea0',
    500: '#541c79',
    950: '#000000',
  },
}
SCSS
$custom: #541c79;
$custom-light: #885ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#541c79",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 276.129,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36365,
    "c": 0.15044,
    "h": 307.9
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#541C79
secondary
#6EAD44
accent
#E54283
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #541C79

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

Preview Lab → · Contrast checker → · Palette generator →

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