#541166#541166

#541166 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.8% C 0.144 H 317.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#541166
RGBrgb(84, 17, 102)
HSLhsl(287, 71%, 23%)
HSVhsv(287, 83%, 40%)
CMYKcmyk(17.6%, 83.3%, 0%, 60%)
CIE-LABlab(21.00, 42.38, -34.35)
CIE-LCHlch(21.00, 54.55, 320.98°)
OKLaboklab(33.79% 0.1066 -0.0967)
OKLCHoklch(33.79% 0.144 317.8)
XYZxyz(6.2545, 3.2453, 12.8647)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541166 #236611
analogous
#291166 #541166 #66114D
triadic
#541166 #665411 #116654
tetradic
#541166 #662911 #236611 #114D66
square
#541166 #662911 #236611 #114D66
split-complementary
#541166 #4D6611 #116629
monochromatic
#16041A #290832 #541166 #7F1A9A #AA22CF

Accessibility & contrast

On white

12.73
#541166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#541166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541166
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541166#FFFFFF#000000##FFFFFF
##5411661.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#143464
Tritanopia (blue-blind)
#53243C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541166;
/* rgb */ color: rgb(84, 17, 102);
/* oklch */ color: oklch(33.8% 0.144 317.8);
Tailwind
colors: {
  custom: {
    50: '#875892',
    500: '#541166',
    950: '#000000',
  },
}
SCSS
$custom: #541166;
$custom-light: #875892;
$custom-dark: #000000;
JSON
{
  "hex": "#541166",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 287.294,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.14393,
    "h": 317.8
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#541166
secondary
#4B9E35
accent
#EE3A60
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541166

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

Preview Lab → · Contrast checker → · Palette generator →

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