#541B6F#541B6F

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

Color values

HEX#541B6F
RGBrgb(84, 27, 111)
HSLhsl(281, 61%, 27%)
HSVhsv(281, 76%, 44%)
CMYKcmyk(24.3%, 75.7%, 0%, 56.5%)
CIE-LABlab(23.06, 40.41, -36.88)
CIE-LCHlch(23.06, 54.71, 317.61°)
OKLaboklab(35.46% 0.0953 -0.1042)
OKLCHoklch(35.46% 0.141 312.4)
XYZxyz(6.9168, 3.8166, 15.4082)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B6F #366F1B
analogous
#2A1B6F #541B6F #6F1B60
triadic
#541B6F #6F541B #1B6F54
tetradic
#541B6F #6F2A1B #366F1B #1B606F
square
#541B6F #6F2A1B #366F1B #1B606F
split-complementary
#541B6F #606F1B #1B6F2A
monochromatic
#130619 #2F0F3E #541B6F #7927A0 #9D36CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541B6F#FFFFFF#000000##FFFFFF
##541B6F1.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)
#003471
Deuteranopia (green-blind)
#11386D
Tritanopia (blue-blind)
#512D43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541b6f;
/* rgb */ color: rgb(84, 27, 111);
/* oklch */ color: oklch(35.5% 0.141 312.4);
Tailwind
colors: {
  custom: {
    50: '#875d99',
    500: '#541b6f',
    950: '#000000',
  },
}
SCSS
$custom: #541b6f;
$custom-light: #875d99;
$custom-dark: #000000;
JSON
{
  "hex": "#541b6f",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 280.714,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35461,
    "c": 0.1412,
    "h": 312.4
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#541B6F
secondary
#61A442
accent
#E44477
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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