#541B62#541B62

#541B62 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.5% C 0.128 H 319.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#541B62
RGBrgb(84, 27, 98)
HSLhsl(288, 57%, 25%)
HSVhsv(288, 72%, 38%)
CMYKcmyk(14.3%, 72.4%, 0%, 61.6%)
CIE-LABlab(22.13, 37.50, -29.91)
CIE-LCHlch(22.13, 47.97, 321.42°)
OKLaboklab(34.5% 0.0965 -0.0838)
OKLCHoklch(34.5% 0.128 319.1)
XYZxyz(6.2524, 3.5508, 11.9089)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B62 #29621B
analogous
#311B62 #541B62 #621B4D
triadic
#541B62 #62541B #1B6254
tetradic
#541B62 #62311B #29621B #1B4D62
square
#541B62 #62311B #29621B #1B4D62
split-complementary
#541B62 #4D621B #1B6231
monochromatic
#150718 #2B0E32 #541B62 #7D2892 #A635C2

Accessibility & contrast

On white

12.28
#541B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#541B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B62
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B62#FFFFFF#000000##FFFFFF
##541B621.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#203760
Tritanopia (blue-blind)
#54283C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541b62;
/* rgb */ color: rgb(84, 27, 98);
/* oklch */ color: oklch(34.5% 0.128 319.1);
Tailwind
colors: {
  custom: {
    50: '#875d8f',
    500: '#541b62',
    950: '#000000',
  },
}
SCSS
$custom: #541b62;
$custom-light: #875d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#541b62",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 288.169,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34502,
    "c": 0.12782,
    "h": 319.1
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#541B62
secondary
#529841
accent
#E04866
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541B62

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

Preview Lab → · Contrast checker → · Palette generator →

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