#541A63#541A63

#541A63 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.130 H 318.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#541A63
RGBrgb(84, 26, 99)
HSLhsl(288, 58%, 25%)
HSVhsv(288, 74%, 39%)
CMYKcmyk(15.2%, 73.7%, 0%, 61.2%)
CIE-LABlab(22.03, 38.17, -30.72)
CIE-LCHlch(22.03, 49.00, 321.18°)
OKLaboklab(34.46% 0.0977 -0.0861)
OKLCHoklch(34.46% 0.13 318.6)
XYZxyz(6.2774, 3.5247, 12.1516)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A63 #29631A
analogous
#301A63 #541A63 #631A4E
triadic
#541A63 #63541A #1A6354
tetradic
#541A63 #63301A #29631A #1A4E63
square
#541A63 #63301A #29631A #1A4E63
split-complementary
#541A63 #4E631A #1A6330
monochromatic
#150618 #2B0D33 #541A63 #7D2793 #A633C4

Accessibility & contrast

On white

12.32
#541A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541A63
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A63#FFFFFF#000000##FFFFFF
##541A631.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541a63;
/* rgb */ color: rgb(84, 26, 99);
/* oklch */ color: oklch(34.5% 0.130 318.6);
Tailwind
colors: {
  custom: {
    50: '#875c90',
    500: '#541a63',
    950: '#000000',
  },
}
SCSS
$custom: #541a63;
$custom-light: #875c90;
$custom-dark: #000000;
JSON
{
  "hex": "#541a63",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 287.671,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34456,
    "c": 0.13022,
    "h": 318.6
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#541A63
secondary
#529940
accent
#E24666
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #541A63

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

Preview Lab → · Contrast checker → · Palette generator →

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