#541B60#541B60

#541B60 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.126 H 320.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#541B60
RGBrgb(84, 27, 96)
HSLhsl(290, 56%, 24%)
HSVhsv(290, 72%, 38%)
CMYKcmyk(12.5%, 71.9%, 0%, 62.4%)
CIE-LABlab(21.99, 37.07, -28.81)
CIE-LCHlch(21.99, 46.95, 322.15°)
OKLaboklab(34.36% 0.0966 -0.0805)
OKLCHoklch(34.36% 0.126 320.2)
XYZxyz(6.1592, 3.5135, 11.4178)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B60 #27601B
analogous
#321B60 #541B60 #601B4A
triadic
#541B60 #60541B #1B6054
tetradic
#541B60 #60321B #27601B #1B4A60
square
#541B60 #60321B #27601B #1B4A60
split-complementary
#541B60 #4A601B #1B6032
monochromatic
#150718 #2A0E30 #541B60 #7E2890 #A836C0

Accessibility & contrast

On white

12.33
#541B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#541B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B60
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B60#FFFFFF#000000##FFFFFF
##541B601.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043162
Deuteranopia (green-blind)
#21375E
Tritanopia (blue-blind)
#54273B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541b60;
/* rgb */ color: rgb(84, 27, 96);
/* oklch */ color: oklch(34.4% 0.126 320.2);
Tailwind
colors: {
  custom: {
    50: '#875d8d',
    500: '#541b60',
    950: '#000000',
  },
}
SCSS
$custom: #541b60;
$custom-light: #875d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#541b60",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 289.565,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34362,
    "c": 0.12579,
    "h": 320.2
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#541B60
secondary
#509641
accent
#DF4863
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541B60

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

Preview Lab → · Contrast checker → · Palette generator →

#541B60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva