#541E6A#541E6A

#541E6A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.4% C 0.132 H 314.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#541E6A
RGBrgb(84, 30, 106)
HSLhsl(283, 56%, 27%)
HSVhsv(283, 72%, 42%)
CMYKcmyk(20.8%, 71.7%, 0%, 58.4%)
CIE-LABlab(23.18, 37.87, -33.44)
CIE-LCHlch(23.18, 50.52, 318.55°)
OKLaboklab(35.44% 0.0924 -0.0941)
OKLCHoklch(35.44% 0.132 314.5)
XYZxyz(6.7215, 3.8542, 14.0227)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E6A #346A1E
analogous
#2E1E6A #541E6A #6A1E5A
triadic
#541E6A #6A541E #1E6A54
tetradic
#541E6A #6A2E1E #346A1E #1E5A6A
square
#541E6A #6A2E1E #346A1E #1E5A6A
split-complementary
#541E6A #5A6A1E #1E6A2E
monochromatic
#130718 #2E113A #541E6A #7A2C9A #9F3BC7

Accessibility & contrast

On white

11.86
#541E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#541E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E6A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E6A#FFFFFF#000000##FFFFFF
##541E6A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#1B3968
Tritanopia (blue-blind)
#522D41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541e6a;
/* rgb */ color: rgb(84, 30, 106);
/* oklch */ color: oklch(35.4% 0.132 314.5);
Tailwind
colors: {
  custom: {
    50: '#875f95',
    500: '#541e6a',
    950: '#000000',
  },
}
SCSS
$custom: #541e6a;
$custom-light: #875f95;
$custom-dark: #000000;
JSON
{
  "hex": "#541e6a",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 282.632,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.13189,
    "h": 314.5
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#541E6A
secondary
#5F9E45
accent
#DF4974
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #541E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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