#541B68#541B68

#541B68 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.9% C 0.134 H 315.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#541B68
RGBrgb(84, 27, 104)
HSLhsl(284, 59%, 26%)
HSVhsv(284, 74%, 41%)
CMYKcmyk(19.2%, 74%, 0%, 59.2%)
CIE-LABlab(22.54, 38.82, -33.17)
CIE-LCHlch(22.54, 51.06, 319.49°)
OKLaboklab(34.93% 0.0961 -0.0933)
OKLCHoklch(34.93% 0.134 315.8)
XYZxyz(6.5464, 3.6684, 13.4573)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B68 #2F681B
analogous
#2D1B68 #541B68 #681B55
triadic
#541B68 #68541B #1B6854
tetradic
#541B68 #682D1B #2F681B #1B5568
square
#541B68 #682D1B #2F681B #1B5568
split-complementary
#541B68 #55681B #1B682D
monochromatic
#140618 #2D0E37 #541B68 #7B2899 #A234C9

Accessibility & contrast

On white

12.11
#541B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#541B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B68
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B68#FFFFFF#000000##FFFFFF
##541B681.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#1A3766
Tritanopia (blue-blind)
#532B3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541b68;
/* rgb */ color: rgb(84, 27, 104);
/* oklch */ color: oklch(34.9% 0.134 315.8);
Tailwind
colors: {
  custom: {
    50: '#875d94',
    500: '#541b68',
    950: '#000000',
  },
}
SCSS
$custom: #541b68;
$custom-light: #875d94;
$custom-dark: #000000;
JSON
{
  "hex": "#541b68",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 284.416,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34933,
    "c": 0.13395,
    "h": 315.8
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#541B68
secondary
#599D42
accent
#E2466E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B68

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

Preview Lab → · Contrast checker → · Palette generator →

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