#541960#541960

#541960 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.129 H 320.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#541960
RGBrgb(84, 25, 96)
HSLhsl(290, 59%, 24%)
HSVhsv(290, 74%, 38%)
CMYKcmyk(12.5%, 74%, 0%, 62.4%)
CIE-LABlab(21.67, 37.97, -29.32)
CIE-LCHlch(21.67, 47.98, 322.33°)
OKLaboklab(34.13% 0.099 -0.082)
OKLCHoklch(34.13% 0.129 320.4)
XYZxyz(6.1149, 3.4249, 11.4030)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541960 #256019
analogous
#301960 #541960 #601948
triadic
#541960 #605419 #196054
tetradic
#541960 #603019 #256019 #194860
square
#541960 #603019 #256019 #194860
split-complementary
#541960 #486019 #196030
monochromatic
#150618 #2A0C2F #541960 #7E2691 #A932C1

Accessibility & contrast

On white

12.46
#541960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#541960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541960
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541960#FFFFFF#000000##FFFFFF
##5419601.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#54263A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541960;
/* rgb */ color: rgb(84, 25, 96);
/* oklch */ color: oklch(34.1% 0.129 320.4);
Tailwind
colors: {
  custom: {
    50: '#875c8d',
    500: '#541960',
    950: '#000000',
  },
}
SCSS
$custom: #541960;
$custom-light: #875c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#541960",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 289.859,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.12859,
    "h": 320.4
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#541960
secondary
#4D963F
accent
#E24660
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541960

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

Preview Lab → · Contrast checker → · Palette generator →

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