#541B63#541B63

#541B63 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.129 H 318.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#541B63
RGBrgb(84, 27, 99)
HSLhsl(288, 57%, 25%)
HSVhsv(288, 73%, 39%)
CMYKcmyk(15.2%, 72.7%, 0%, 61.2%)
CIE-LABlab(22.20, 37.72, -30.46)
CIE-LCHlch(22.20, 48.48, 321.08°)
OKLaboklab(34.57% 0.0965 -0.0854)
OKLCHoklch(34.57% 0.129 318.5)
XYZxyz(6.2999, 3.5698, 12.1592)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B63 #2A631B
analogous
#301B63 #541B63 #631B4E
triadic
#541B63 #63541B #1B6354
tetradic
#541B63 #63301B #2A631B #1B4E63
square
#541B63 #63301B #2A631B #1B4E63
split-complementary
#541B63 #4E631B #1B6330
monochromatic
#140718 #2B0E33 #541B63 #7D2893 #A635C3

Accessibility & contrast

On white

12.25
#541B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B63
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B63#FFFFFF#000000##FFFFFF
##541B631.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#1F3761
Tritanopia (blue-blind)
#54283C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541b63;
/* rgb */ color: rgb(84, 27, 99);
/* oklch */ color: oklch(34.6% 0.129 318.5);
Tailwind
colors: {
  custom: {
    50: '#875d90',
    500: '#541b63',
    950: '#000000',
  },
}
SCSS
$custom: #541b63;
$custom-light: #875d90;
$custom-dark: #000000;
JSON
{
  "hex": "#541b63",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 287.5,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34572,
    "c": 0.12883,
    "h": 318.5
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#541B63
secondary
#539841
accent
#E04767
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #541B63

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

Preview Lab → · Contrast checker → · Palette generator →

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