#541E6D#541E6D

#541E6D is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.135 H 313.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#541E6D
RGBrgb(84, 30, 109)
HSLhsl(281, 57%, 27%)
HSVhsv(281, 72%, 43%)
CMYKcmyk(22.9%, 72.5%, 0%, 57.3%)
CIE-LABlab(23.40, 38.56, -35.04)
CIE-LCHlch(23.40, 52.11, 317.74°)
OKLaboklab(35.66% 0.0921 -0.0988)
OKLCHoklch(35.66% 0.135 313)
XYZxyz(6.8803, 3.9177, 14.8588)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E6D #376D1E
analogous
#2D1E6D #541E6D #6D1E5F
triadic
#541E6D #6D541E #1E6D54
tetradic
#541E6D #6D2D1E #376D1E #1E5F6D
square
#541E6D #6D2D1E #376D1E #1E5F6D
split-complementary
#541E6D #5F6D1E #1E6D2D
monochromatic
#120718 #2F113D #541E6D #792B9D #9D3CC9

Accessibility & contrast

On white

11.78
#541E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#541E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E6D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E6D#FFFFFF#000000##FFFFFF
##541E6D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#18396B
Tritanopia (blue-blind)
#512E43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541e6d;
/* rgb */ color: rgb(84, 30, 109);
/* oklch */ color: oklch(35.7% 0.135 313.0);
Tailwind
colors: {
  custom: {
    50: '#875f97',
    500: '#541e6d',
    950: '#000000',
  },
}
SCSS
$custom: #541e6d;
$custom-light: #875f97;
$custom-dark: #000000;
JSON
{
  "hex": "#541e6d",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 281.013,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.1351,
    "h": 313
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#541E6D
secondary
#63A145
accent
#E04878
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #541E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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