#541B69#541B69

#541B69 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.135 H 315.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#541B69
RGBrgb(84, 27, 105)
HSLhsl(284, 59%, 26%)
HSVhsv(284, 74%, 41%)
CMYKcmyk(20%, 74.3%, 0%, 58.8%)
CIE-LABlab(22.61, 39.04, -33.71)
CIE-LCHlch(22.61, 51.58, 319.20°)
OKLaboklab(35.01% 0.096 -0.0949)
OKLCHoklch(35.01% 0.135 315.3)
XYZxyz(6.5975, 3.6888, 13.7263)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B69 #30691B
analogous
#2D1B69 #541B69 #691B57
triadic
#541B69 #69541B #1B6954
tetradic
#541B69 #692D1B #30691B #1B5769
square
#541B69 #692D1B #30691B #1B5769
split-complementary
#541B69 #57691B #1B692D
monochromatic
#130618 #2D0E38 #541B69 #7B289A #A234CA

Accessibility & contrast

On white

12.08
#541B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B69
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B69#FFFFFF#000000##FFFFFF
##541B691.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541b69;
/* rgb */ color: rgb(84, 27, 105);
/* oklch */ color: oklch(35.0% 0.135 315.3);
Tailwind
colors: {
  custom: {
    50: '#875d94',
    500: '#541b69',
    950: '#000000',
  },
}
SCSS
$custom: #541b69;
$custom-light: #875d94;
$custom-dark: #000000;
JSON
{
  "hex": "#541b69",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 283.846,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35007,
    "c": 0.13499,
    "h": 315.3
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#541B69
secondary
#5B9E42
accent
#E24670
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B69

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

Preview Lab → · Contrast checker → · Palette generator →

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