#541056#541056

#541056 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.131 H 326.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#541056
RGBrgb(84, 16, 86)
HSLhsl(298, 69%, 20%)
HSVhsv(298, 81%, 34%)
CMYKcmyk(2.3%, 81.4%, 0%, 66.3%)
CIE-LABlab(19.75, 39.54, -25.73)
CIE-LCHlch(19.75, 47.17, 326.95°)
OKLaboklab(32.55% 0.1092 -0.0715)
OKLCHoklch(32.55% 0.131 326.8)
XYZxyz(5.5211, 2.9277, 9.0766)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541056 #125610
analogous
#311056 #541056 #561035
triadic
#541056 #565410 #105654
tetradic
#541056 #563110 #125610 #103556
square
#541056 #563110 #125610 #103556
split-complementary
#541056 #355610 #105631
monochromatic
#19051A #220622 #541056 #861A8A #B923BD

Accessibility & contrast

On white

13.25
#541056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541056
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541056#FFFFFF#000000##FFFFFF
##5410561.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#571C32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541056;
/* rgb */ color: rgb(84, 16, 86);
/* oklch */ color: oklch(32.5% 0.131 326.8);
Tailwind
colors: {
  custom: {
    50: '#875786',
    500: '#541056',
    950: '#000000',
  },
}
SCSS
$custom: #541056;
$custom-light: #875786;
$custom-dark: #000000;
JSON
{
  "hex": "#541056",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 298.286,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.13054,
    "h": 326.8
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#541056
secondary
#358F32
accent
#EB3C41
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030B
muted
#7D787C

Preview Lab

Preview with #541056

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

Preview Lab → · Contrast checker → · Palette generator →

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