#541E68#541E68

#541E68 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.130 H 315.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#541E68
RGBrgb(84, 30, 104)
HSLhsl(284, 55%, 26%)
HSVhsv(284, 71%, 41%)
CMYKcmyk(19.2%, 71.2%, 0%, 59.2%)
CIE-LABlab(23.04, 37.41, -32.37)
CIE-LCHlch(23.04, 49.47, 319.14°)
OKLaboklab(35.29% 0.0925 -0.091)
OKLCHoklch(35.29% 0.13 315.5)
XYZxyz(6.6187, 3.8131, 13.4814)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E68 #32681E
analogous
#2F1E68 #541E68 #681E57
triadic
#541E68 #68541E #1E6854
tetradic
#541E68 #682F1E #32681E #1E5768
square
#541E68 #682F1E #32681E #1E5768
split-complementary
#541E68 #57681E #1E682F
monochromatic
#130718 #2E1039 #541E68 #7A2C98 #A03AC6

Accessibility & contrast

On white

11.91
#541E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#541E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E68
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E68#FFFFFF#000000##FFFFFF
##541E681.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#1D3866
Tritanopia (blue-blind)
#532C40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541e68;
/* rgb */ color: rgb(84, 30, 104);
/* oklch */ color: oklch(35.3% 0.130 315.5);
Tailwind
colors: {
  custom: {
    50: '#875f93',
    500: '#541e68',
    950: '#000000',
  },
}
SCSS
$custom: #541e68;
$custom-light: #875f93;
$custom-dark: #000000;
JSON
{
  "hex": "#541e68",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 283.784,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35291,
    "c": 0.12976,
    "h": 315.5
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#541E68
secondary
#5D9D45
accent
#DF4972
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #541E68

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

Preview Lab → · Contrast checker → · Palette generator →

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