#541B6B#541B6B

#541B6B is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.137 H 314.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#541B6B
RGBrgb(84, 27, 107)
HSLhsl(283, 60%, 26%)
HSVhsv(283, 75%, 42%)
CMYKcmyk(21.5%, 74.8%, 0%, 58%)
CIE-LABlab(22.76, 39.49, -34.77)
CIE-LCHlch(22.76, 52.62, 318.64°)
OKLaboklab(35.16% 0.0958 -0.098)
OKLCHoklch(35.16% 0.137 314.3)
XYZxyz(6.7015, 3.7304, 14.2741)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B6B #326B1B
analogous
#2C1B6B #541B6B #6B1B5A
triadic
#541B6B #6B541B #1B6B54
tetradic
#541B6B #6B2C1B #326B1B #1B5A6B
square
#541B6B #6B2C1B #326B1B #1B5A6B
split-complementary
#541B6B #5A6B1B #1B6B2C
monochromatic
#130618 #2E0F3A #541B6B #7A279C #A035CC

Accessibility & contrast

On white

12.03
#541B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B6B
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B6B#FFFFFF#000000##FFFFFF
##541B6B1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#173869
Tritanopia (blue-blind)
#522C41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541b6b;
/* rgb */ color: rgb(84, 27, 107);
/* oklch */ color: oklch(35.2% 0.137 314.3);
Tailwind
colors: {
  custom: {
    50: '#875d96',
    500: '#541b6b',
    950: '#000000',
  },
}
SCSS
$custom: #541b6b;
$custom-light: #875d96;
$custom-dark: #000000;
JSON
{
  "hex": "#541b6b",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 282.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35156,
    "c": 0.13705,
    "h": 314.3
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#541B6B
secondary
#5DA042
accent
#E34572
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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