#541B6A#541B6A

#541B6A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.136 H 314.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#541B6A
RGBrgb(84, 27, 106)
HSLhsl(283, 59%, 26%)
HSVhsv(283, 75%, 42%)
CMYKcmyk(20.8%, 74.5%, 0%, 58.4%)
CIE-LABlab(22.69, 39.27, -34.24)
CIE-LCHlch(22.69, 52.10, 318.91°)
OKLaboklab(35.08% 0.0959 -0.0964)
OKLCHoklch(35.08% 0.136 314.8)
XYZxyz(6.6492, 3.7095, 13.9986)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B6A #316A1B
analogous
#2C1B6A #541B6A #6A1B58
triadic
#541B6A #6A541B #1B6A54
tetradic
#541B6A #6A2C1B #316A1B #1B586A
square
#541B6A #6A2C1B #316A1B #1B586A
split-complementary
#541B6A #586A1B #1B6A2C
monochromatic
#130618 #2D0F39 #541B6A #7B279B #A134CB

Accessibility & contrast

On white

12.06
#541B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#541B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B6A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B6A#FFFFFF#000000##FFFFFF
##541B6A1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#183868
Tritanopia (blue-blind)
#522B40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541b6a;
/* rgb */ color: rgb(84, 27, 106);
/* oklch */ color: oklch(35.1% 0.136 314.8);
Tailwind
colors: {
  custom: {
    50: '#875d95',
    500: '#541b6a',
    950: '#000000',
  },
}
SCSS
$custom: #541b6a;
$custom-light: #875d95;
$custom-dark: #000000;
JSON
{
  "hex": "#541b6a",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 283.291,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35081,
    "c": 0.13602,
    "h": 314.8
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#541B6A
secondary
#5C9F42
accent
#E34571
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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