#541A76#541A76

#541A76 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.150 H 309.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#541A76
RGBrgb(84, 26, 118)
HSLhsl(278, 64%, 28%)
HSVhsv(278, 78%, 46%)
CMYKcmyk(28.8%, 78%, 0%, 53.7%)
CIE-LABlab(23.44, 42.47, -40.75)
CIE-LCHlch(23.44, 58.86, 316.18°)
OKLaboklab(35.91% 0.0951 -0.1156)
OKLCHoklch(35.91% 0.15 309.5)
XYZxyz(7.2949, 3.9318, 17.5106)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A76 #3C761A
analogous
#261A76 #541A76 #761A6A
triadic
#541A76 #76541A #1A7654
tetradic
#541A76 #76261A #3C761A #1A6A76
square
#541A76 #76261A #3C761A #1A6A76
split-complementary
#541A76 #6A761A #1A7626
monochromatic
#120619 #300F44 #541A76 #7825A8 #9937D3

Accessibility & contrast

On white

11.76
#541A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#541A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A76
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A76#FFFFFF#000000##FFFFFF
##541A761.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#013974
Tritanopia (blue-blind)
#4F3047
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541a76;
/* rgb */ color: rgb(84, 26, 118);
/* oklch */ color: oklch(35.9% 0.150 309.5);
Tailwind
colors: {
  custom: {
    50: '#885d9e',
    500: '#541a76',
    950: '#000000',
  },
}
SCSS
$custom: #541a76;
$custom-light: #885d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#541a76",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 277.826,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35907,
    "c": 0.14968,
    "h": 309.5
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#541A76
secondary
#68AB41
accent
#E7417E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541A76

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

Preview Lab → · Contrast checker → · Palette generator →

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