#541D79#541D79

#541D79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.149 H 307.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#541D79
RGBrgb(84, 29, 121)
HSLhsl(276, 61%, 29%)
HSVhsv(276, 76%, 47%)
CMYKcmyk(30.6%, 76%, 0%, 52.5%)
CIE-LABlab(24.14, 41.87, -41.54)
CIE-LCHlch(24.14, 58.98, 315.23°)
OKLaboklab(36.48% 0.0915 -0.1179)
OKLCHoklch(36.48% 0.149 307.8)
XYZxyz(7.5460, 4.1441, 18.4878)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D79 #42791D
analogous
#261D79 #541D79 #791D70
triadic
#541D79 #79541D #1D7954
tetradic
#541D79 #79261D #42791D #1D7079
square
#541D79 #79261D #42791D #1D7079
split-complementary
#541D79 #70791D #1D7926
monochromatic
#110619 #321148 #541D79 #7629AA #963FD1

Accessibility & contrast

On white

11.48
#541D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#541D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D79
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D79#FFFFFF#000000##FFFFFF
##541D791.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541d79;
/* rgb */ color: rgb(84, 29, 121);
/* oklch */ color: oklch(36.5% 0.149 307.8);
Tailwind
colors: {
  custom: {
    50: '#885fa0',
    500: '#541d79',
    950: '#000000',
  },
}
SCSS
$custom: #541d79;
$custom-light: #885fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#541d79",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 275.87,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.14922,
    "h": 307.8
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#541D79
secondary
#6FAD45
accent
#E44384
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #541D79

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

Preview Lab → · Contrast checker → · Palette generator →

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