#541561#541561

#541561 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.135 H 320.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#541561
RGBrgb(84, 21, 97)
HSLhsl(290, 64%, 23%)
HSVhsv(290, 78%, 38%)
CMYKcmyk(13.4%, 78.4%, 0%, 62%)
CIE-LABlab(21.15, 39.86, -30.82)
CIE-LCHlch(21.15, 50.38, 322.29°)
OKLaboklab(33.78% 0.1034 -0.0864)
OKLCHoklch(33.78% 0.135 320.1)
XYZxyz(6.0817, 3.2845, 11.6206)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541561 #226115
analogous
#2E1561 #541561 #611548
triadic
#541561 #615415 #156154
tetradic
#541561 #612E15 #226115 #154861
square
#541561 #612E15 #226115 #154861
split-complementary
#541561 #486115 #15612E
monochromatic
#160519 #280A2F #541561 #802093 #AB2BC6

Accessibility & contrast

On white

12.68
#541561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#541561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541561
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541561#FFFFFF#000000##FFFFFF
##5415611.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F63
Deuteranopia (green-blind)
#1C355F
Tritanopia (blue-blind)
#54243A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541561;
/* rgb */ color: rgb(84, 21, 97);
/* oklch */ color: oklch(33.8% 0.135 320.1);
Tailwind
colors: {
  custom: {
    50: '#875a8e',
    500: '#541561',
    950: '#000000',
  },
}
SCSS
$custom: #541561;
$custom-light: #875a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#541561",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 289.737,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33781,
    "c": 0.13475,
    "h": 320.1
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#541561
secondary
#4A983A
accent
#E7405D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #541561

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

Preview Lab → · Contrast checker → · Palette generator →

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