#541B4F#541B4F

#541B4F is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.3% C 0.109 H 331.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#541B4F
RGBrgb(84, 27, 79)
HSLhsl(305, 51%, 22%)
HSVhsv(305, 68%, 33%)
CMYKcmyk(0%, 67.9%, 6%, 67.1%)
CIE-LABlab(20.96, 33.62, -19.10)
CIE-LCHlch(20.96, 38.67, 330.40°)
OKLaboklab(33.28% 0.0959 -0.0524)
OKLCHoklch(33.28% 0.109 331.3)
XYZxyz(5.4594, 3.2336, 7.7322)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B4F #1B5420
analogous
#3D1B54 #541B4F #541B33
triadic
#541B4F #4F541B #1B4F54
tetradic
#541B4F #543D1B #1B5420 #1B3354
square
#541B4F #543D1B #1B5420 #1B3354
split-complementary
#541B4F #33541B #1B543D
monochromatic
#170716 #260C23 #541B4F #822A7B #B139A6

Accessibility & contrast

On white

12.75
#541B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#541B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B4F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B4F#FFFFFF#000000##FFFFFF
##541B4F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D51
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#582032
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541b4f;
/* rgb */ color: rgb(84, 27, 79);
/* oklch */ color: oklch(33.3% 0.109 331.3);
Tailwind
colors: {
  custom: {
    50: '#865c80',
    500: '#541b4f',
    950: '#000000',
  },
}
SCSS
$custom: #541b4f;
$custom-light: #865c80;
$custom-dark: #000000;
JSON
{
  "hex": "#541b4f",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 305.263,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33277,
    "c": 0.10926,
    "h": 331.3
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#541B4F
secondary
#418A47
accent
#DB594D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #541B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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