#541456#541456

#541456 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.126 H 326.7°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#541456
RGBrgb(84, 20, 86)
HSLhsl(298, 62%, 21%)
HSVhsv(298, 77%, 34%)
CMYKcmyk(2.3%, 76.7%, 0%, 66.3%)
CIE-LABlab(20.27, 38.05, -24.90)
CIE-LCHlch(20.27, 45.47, 326.80°)
OKLaboklab(32.92% 0.1051 -0.0691)
OKLCHoklch(32.92% 0.126 326.7)
XYZxyz(5.5859, 3.0574, 9.0982)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541456 #165614
analogous
#331456 #541456 #561437
triadic
#541456 #565414 #145654
tetradic
#541456 #563314 #165614 #143756
square
#541456 #563314 #165614 #143756
split-complementary
#541456 #375614 #145633
monochromatic
#180619 #240824 #541456 #842088 #B52BB9

Accessibility & contrast

On white

13.03
#541456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#541456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541456
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541456#FFFFFF#000000##FFFFFF
##5414561.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C58
Deuteranopia (green-blind)
#243454
Tritanopia (blue-blind)
#561E33
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541456;
/* rgb */ color: rgb(84, 20, 86);
/* oklch */ color: oklch(32.9% 0.126 326.7);
Tailwind
colors: {
  custom: {
    50: '#875986',
    500: '#541456',
    950: '#000000',
  },
}
SCSS
$custom: #541456;
$custom-light: #875986;
$custom-dark: #000000;
JSON
{
  "hex": "#541456",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 298.182,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32918,
    "c": 0.12575,
    "h": 326.7
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#541456
secondary
#3A8E38
accent
#E54247
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541456

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

Preview Lab → · Contrast checker → · Palette generator →

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