#541159#541159

#541159 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.132 H 324.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#541159
RGBrgb(84, 17, 89)
HSLhsl(296, 68%, 21%)
HSVhsv(296, 81%, 35%)
CMYKcmyk(5.6%, 80.9%, 0%, 65.1%)
CIE-LABlab(20.07, 39.76, -27.23)
CIE-LCHlch(20.07, 48.19, 325.60°)
OKLaboklab(32.84% 0.1081 -0.0758)
OKLCHoklch(32.84% 0.132 324.9)
XYZxyz(5.6596, 3.0074, 9.7316)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541159 #165911
analogous
#301159 #541159 #59113A
triadic
#541159 #595411 #115954
tetradic
#541159 #593011 #165911 #113A59
square
#541159 #593011 #165911 #113A59
split-complementary
#541159 #3A5911 #115930
monochromatic
#18051A #240726 #541159 #841B8C #B525C0

Accessibility & contrast

On white

13.11
#541159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#541159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541159
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541159#FFFFFF#000000##FFFFFF
##5411591.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#203357
Tritanopia (blue-blind)
#561E34
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541159;
/* rgb */ color: rgb(84, 17, 89);
/* oklch */ color: oklch(32.8% 0.132 324.9);
Tailwind
colors: {
  custom: {
    50: '#875888',
    500: '#541159',
    950: '#000000',
  },
}
SCSS
$custom: #541159;
$custom-light: #875888;
$custom-dark: #000000;
JSON
{
  "hex": "#541159",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 295.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32839,
    "c": 0.13207,
    "h": 324.9
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#541159
secondary
#3A9234
accent
#EB3D49
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541159

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

Preview Lab → · Contrast checker → · Palette generator →

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