#541D68#541D68

#541D68 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.131 H 315.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#541D68
RGBrgb(84, 29, 104)
HSLhsl(284, 56%, 26%)
HSVhsv(284, 72%, 41%)
CMYKcmyk(19.2%, 72.1%, 0%, 59.2%)
CIE-LABlab(22.87, 37.89, -32.64)
CIE-LCHlch(22.87, 50.01, 319.26°)
OKLaboklab(35.17% 0.0937 -0.0918)
OKLCHoklch(35.17% 0.131 315.6)
XYZxyz(6.5938, 3.7633, 13.4731)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D68 #31681D
analogous
#2E1D68 #541D68 #681D56
triadic
#541D68 #68541D #1D6854
tetradic
#541D68 #682E1D #31681D #1D5668
square
#541D68 #682E1D #31681D #1D5668
split-complementary
#541D68 #56681D #1D682E
monochromatic
#130718 #2D1038 #541D68 #7B2A98 #A138C7

Accessibility & contrast

On white

11.98
#541D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541D68
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D68#FFFFFF#000000##FFFFFF
##541D681.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541d68;
/* rgb */ color: rgb(84, 29, 104);
/* oklch */ color: oklch(35.2% 0.131 315.6);
Tailwind
colors: {
  custom: {
    50: '#875e94',
    500: '#541d68',
    950: '#000000',
  },
}
SCSS
$custom: #541d68;
$custom-light: #875e94;
$custom-dark: #000000;
JSON
{
  "hex": "#541d68",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 284,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35168,
    "c": 0.13119,
    "h": 315.6
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#541D68
secondary
#5C9D44
accent
#E04871
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #541D68

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

Preview Lab → · Contrast checker → · Palette generator →

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