#541E66#541E66

#541E66 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.1% C 0.128 H 316.5°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#541E66
RGBrgb(84, 30, 102)
HSLhsl(285, 55%, 26%)
HSVhsv(285, 71%, 40%)
CMYKcmyk(17.6%, 70.6%, 0%, 60%)
CIE-LABlab(22.91, 36.96, -31.28)
CIE-LCHlch(22.91, 48.42, 319.76°)
OKLaboklab(35.15% 0.0926 -0.0878)
OKLCHoklch(35.15% 0.128 316.5)
XYZxyz(6.5183, 3.7729, 12.9527)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E66 #30661E
analogous
#301E66 #541E66 #661E54
triadic
#541E66 #66541E #1E6654
tetradic
#541E66 #66301E #30661E #1E5466
square
#541E66 #66301E #30661E #1E5466
split-complementary
#541E66 #54661E #1E6630
monochromatic
#130718 #2D1037 #541E66 #7B2C95 #A23AC5

Accessibility & contrast

On white

11.97
#541E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541E66
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E66#FFFFFF#000000##FFFFFF
##541E661.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#1F3864
Tritanopia (blue-blind)
#532C3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541e66;
/* rgb */ color: rgb(84, 30, 102);
/* oklch */ color: oklch(35.1% 0.128 316.5);
Tailwind
colors: {
  custom: {
    50: '#875e92',
    500: '#541e66',
    950: '#000000',
  },
}
SCSS
$custom: #541e66;
$custom-light: #875e92;
$custom-dark: #000000;
JSON
{
  "hex": "#541e66",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 285,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35148,
    "c": 0.12764,
    "h": 316.5
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#541E66
secondary
#5B9B45
accent
#DE4A6F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #541E66

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

Preview Lab → · Contrast checker → · Palette generator →

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