#541964#541964

#541964 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.133 H 318.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#541964
RGBrgb(84, 25, 100)
HSLhsl(287, 60%, 25%)
HSVhsv(287, 75%, 39%)
CMYKcmyk(16%, 75%, 0%, 60.8%)
CIE-LABlab(21.95, 38.83, -31.51)
CIE-LCHlch(21.95, 50.01, 320.94°)
OKLaboklab(34.42% 0.0988 -0.0884)
OKLCHoklch(34.42% 0.133 318.2)
XYZxyz(6.3037, 3.5005, 12.3977)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541964 #296419
analogous
#2F1964 #541964 #64194F
triadic
#541964 #645419 #196454
tetradic
#541964 #642F19 #296419 #194F64
square
#541964 #642F19 #296419 #194F64
split-complementary
#541964 #4F6419 #19642F
monochromatic
#150618 #2B0D33 #541964 #7D2595 #A631C6

Accessibility & contrast

On white

12.35
#541964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#541964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541964
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541964#FFFFFF#000000##FFFFFF
##5419641.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#1C3662
Tritanopia (blue-blind)
#54283C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541964;
/* rgb */ color: rgb(84, 25, 100);
/* oklch */ color: oklch(34.4% 0.133 318.2);
Tailwind
colors: {
  custom: {
    50: '#875c91',
    500: '#541964',
    950: '#000000',
  },
}
SCSS
$custom: #541964;
$custom-light: #875c91;
$custom-dark: #000000;
JSON
{
  "hex": "#541964",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 287.2,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.13258,
    "h": 318.2
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#541964
secondary
#529A3F
accent
#E34566
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040D
muted
#7D797D

Preview Lab

Preview with #541964

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

Preview Lab → · Contrast checker → · Palette generator →

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