#541156#541156

#541156 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.129 H 326.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#541156
RGBrgb(84, 17, 86)
HSLhsl(298, 67%, 20%)
HSVhsv(298, 80%, 34%)
CMYKcmyk(2.3%, 80.2%, 0%, 66.3%)
CIE-LABlab(19.87, 39.19, -25.53)
CIE-LCHlch(19.87, 46.77, 326.91°)
OKLaboklab(32.63% 0.1083 -0.0709)
OKLCHoklch(32.63% 0.129 326.8)
XYZxyz(5.5362, 2.9580, 9.0816)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541156 #135611
analogous
#311156 #541156 #561135
triadic
#541156 #565411 #115654
tetradic
#541156 #563111 #135611 #113556
square
#541156 #563111 #135611 #113556
split-complementary
#541156 #355611 #115631
monochromatic
#19051A #220723 #541156 #861B89 #B825BC

Accessibility & contrast

On white

13.19
#541156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#541156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541156
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541156#FFFFFF#000000##FFFFFF
##5411561.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B58
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#571D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541156;
/* rgb */ color: rgb(84, 17, 86);
/* oklch */ color: oklch(32.6% 0.129 326.8);
Tailwind
colors: {
  custom: {
    50: '#875886',
    500: '#541156',
    950: '#000000',
  },
}
SCSS
$custom: #541156;
$custom-light: #875886;
$custom-dark: #000000;
JSON
{
  "hex": "#541156",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 298.261,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32634,
    "c": 0.12941,
    "h": 326.8
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#541156
secondary
#368F34
accent
#EA3E43
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541156

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

Preview Lab → · Contrast checker → · Palette generator →

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