#541660#541660

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

Color values

HEX#541660
RGBrgb(84, 22, 96)
HSLhsl(290, 63%, 23%)
HSVhsv(290, 77%, 38%)
CMYKcmyk(12.5%, 77.1%, 0%, 62.4%)
CIE-LABlab(21.22, 39.25, -30.04)
CIE-LCHlch(21.22, 49.43, 322.57°)
OKLaboklab(33.81% 0.1024 -0.0841)
OKLCHoklch(33.81% 0.133 320.6)
XYZxyz(6.0541, 3.3035, 11.3828)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541660 #226016
analogous
#2F1660 #541660 #601647
triadic
#541660 #605416 #166054
tetradic
#541660 #602F16 #226016 #164760
square
#541660 #602F16 #226016 #164760
split-complementary
#541660 #476016 #16602F
monochromatic
#160619 #280B2E #541660 #802192 #AB2DC4

Accessibility & contrast

On white

12.65
#541660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541660
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541660#FFFFFF#000000##FFFFFF
##5416601.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#1E355E
Tritanopia (blue-blind)
#552439
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541660;
/* rgb */ color: rgb(84, 22, 96);
/* oklch */ color: oklch(33.8% 0.133 320.6);
Tailwind
colors: {
  custom: {
    50: '#875a8d',
    500: '#541660',
    950: '#000000',
  },
}
SCSS
$custom: #541660;
$custom-light: #875a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#541660",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 290.27,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33809,
    "c": 0.13255,
    "h": 320.6
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#541660
secondary
#4A973B
accent
#E6425D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #541660

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

Preview Lab → · Contrast checker → · Palette generator →

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