#541D6D#541D6D

#541D6D is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.136 H 313.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#541D6D
RGBrgb(84, 29, 109)
HSLhsl(281, 58%, 27%)
HSVhsv(281, 73%, 43%)
CMYKcmyk(22.9%, 73.4%, 0%, 57.3%)
CIE-LABlab(23.23, 39.04, -35.31)
CIE-LCHlch(23.23, 52.64, 317.87°)
OKLaboklab(35.54% 0.0933 -0.0996)
OKLCHoklch(35.54% 0.136 313.1)
XYZxyz(6.8554, 3.8679, 14.8505)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D6D #366D1D
analogous
#2C1D6D #541D6D #6D1D5E
triadic
#541D6D #6D541D #1D6D54
tetradic
#541D6D #6D2C1D #366D1D #1D5E6D
square
#541D6D #6D2C1D #366D1D #1D5E6D
split-complementary
#541D6D #5E6D1D #1D6D2C
monochromatic
#130618 #2F103D #541D6D #792A9D #9D3ACB

Accessibility & contrast

On white

11.84
#541D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541D6D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D6D#FFFFFF#000000##FFFFFF
##541D6D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541d6d;
/* rgb */ color: rgb(84, 29, 109);
/* oklch */ color: oklch(35.5% 0.136 313.1);
Tailwind
colors: {
  custom: {
    50: '#875e97',
    500: '#541d6d',
    950: '#000000',
  },
}
SCSS
$custom: #541d6d;
$custom-light: #875e97;
$custom-dark: #000000;
JSON
{
  "hex": "#541d6d",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 281.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.13647,
    "h": 313.1
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#541D6D
secondary
#61A244
accent
#E14777
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #541D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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