#541A6D#541A6D

#541A6D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.140 H 313.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#541A6D
RGBrgb(84, 26, 109)
HSLhsl(282, 61%, 26%)
HSVhsv(282, 76%, 43%)
CMYKcmyk(22.9%, 76.1%, 0%, 57.3%)
CIE-LABlab(22.75, 40.39, -36.08)
CIE-LCHlch(22.75, 54.16, 318.22°)
OKLaboklab(35.2% 0.0966 -0.1019)
OKLCHoklch(35.2% 0.14 313.5)
XYZxyz(6.7854, 3.7279, 14.8272)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A6D #336D1A
analogous
#2B1A6D #541A6D #6D1A5D
triadic
#541A6D #6D541A #1A6D54
tetradic
#541A6D #6D2B1A #336D1A #1A5D6D
square
#541A6D #6D2B1A #336D1A #1A5D6D
split-complementary
#541A6D #5D6D1A #1A6D2B
monochromatic
#130619 #2E0E3C #541A6D #7A269E #A033CE

Accessibility & contrast

On white

12.03
#541A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#541A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A6D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A6D#FFFFFF#000000##FFFFFF
##541A6D1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#13386B
Tritanopia (blue-blind)
#512C42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541a6d;
/* rgb */ color: rgb(84, 26, 109);
/* oklch */ color: oklch(35.2% 0.140 313.5);
Tailwind
colors: {
  custom: {
    50: '#875d97',
    500: '#541a6d',
    950: '#000000',
  },
}
SCSS
$custom: #541a6d;
$custom-light: #875d97;
$custom-dark: #000000;
JSON
{
  "hex": "#541a6d",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 281.928,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35197,
    "c": 0.14041,
    "h": 313.5
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#541A6D
secondary
#5EA241
accent
#E54374
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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