#541B6D#541B6D

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

Color values

HEX#541B6D
RGBrgb(84, 27, 109)
HSLhsl(282, 60%, 27%)
HSVhsv(282, 75%, 43%)
CMYKcmyk(22.9%, 75.2%, 0%, 57.3%)
CIE-LABlab(22.91, 39.95, -35.83)
CIE-LCHlch(22.91, 53.66, 318.11°)
OKLaboklab(35.31% 0.0956 -0.1011)
OKLCHoklch(35.31% 0.139 313.4)
XYZxyz(6.8079, 3.7730, 14.8347)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B6D #346D1B
analogous
#2B1B6D #541B6D #6D1B5D
triadic
#541B6D #6D541B #1B6D54
tetradic
#541B6D #6D2B1B #346D1B #1B5D6D
square
#541B6D #6D2B1B #346D1B #1B5D6D
split-complementary
#541B6D #5D6D1B #1B6D2B
monochromatic
#130619 #2E0F3C #541B6D #7A279E #9F35CD

Accessibility & contrast

On white

11.97
#541B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B6D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B6D#FFFFFF#000000##FFFFFF
##541B6D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#512D42
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541b6d;
/* rgb */ color: rgb(84, 27, 109);
/* oklch */ color: oklch(35.3% 0.139 313.4);
Tailwind
colors: {
  custom: {
    50: '#875d97',
    500: '#541b6d',
    950: '#000000',
  },
}
SCSS
$custom: #541b6d;
$custom-light: #875d97;
$custom-dark: #000000;
JSON
{
  "hex": "#541b6d",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 281.707,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35307,
    "c": 0.13913,
    "h": 313.4
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#541B6D
secondary
#5FA242
accent
#E34475
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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