#541966#541966

#541966 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.135 H 317.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#541966
RGBrgb(84, 25, 102)
HSLhsl(286, 61%, 25%)
HSVhsv(286, 75%, 40%)
CMYKcmyk(17.6%, 75.5%, 0%, 60%)
CIE-LABlab(22.09, 39.26, -32.60)
CIE-LCHlch(22.09, 51.03, 320.30°)
OKLaboklab(34.56% 0.0986 -0.0916)
OKLCHoklch(34.56% 0.135 317.1)
XYZxyz(6.4017, 3.5397, 12.9138)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541966 #2B6619
analogous
#2E1966 #541966 #661952
triadic
#541966 #665419 #196654
tetradic
#541966 #662E19 #2B6619 #195266
square
#541966 #662E19 #2B6619 #195266
split-complementary
#541966 #526619 #19662E
monochromatic
#140619 #2C0D35 #541966 #7C2597 #A531C8

Accessibility & contrast

On white

12.30
#541966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#541966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541966
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541966#FFFFFF#000000##FFFFFF
##5419661.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#1A3764
Tritanopia (blue-blind)
#53293E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541966;
/* rgb */ color: rgb(84, 25, 102);
/* oklch */ color: oklch(34.6% 0.135 317.1);
Tailwind
colors: {
  custom: {
    50: '#875c92',
    500: '#541966',
    950: '#000000',
  },
}
SCSS
$custom: #541966;
$custom-light: #875c92;
$custom-dark: #000000;
JSON
{
  "hex": "#541966",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 285.974,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34562,
    "c": 0.13459,
    "h": 317.1
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#541966
secondary
#559C3F
accent
#E44469
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541966

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

Preview Lab → · Contrast checker → · Palette generator →

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