#541B6C#541B6C

#541B6C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.138 H 313.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#541B6C
RGBrgb(84, 27, 108)
HSLhsl(282, 60%, 26%)
HSVhsv(282, 75%, 42%)
CMYKcmyk(22.2%, 75%, 0%, 57.6%)
CIE-LABlab(22.83, 39.72, -35.30)
CIE-LCHlch(22.83, 53.14, 318.37°)
OKLaboklab(35.23% 0.0957 -0.0996)
OKLCHoklch(35.23% 0.138 313.9)
XYZxyz(6.7544, 3.7516, 14.5528)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B6C #336C1B
analogous
#2C1B6C #541B6C #6C1B5C
triadic
#541B6C #6C541B #1B6C54
tetradic
#541B6C #6C2C1B #336C1B #1B5C6C
square
#541B6C #6C2C1B #336C1B #1B5C6C
split-complementary
#541B6C #5C6C1B #1B6C2C
monochromatic
#130618 #2E0F3B #541B6C #7A279D #A035CC

Accessibility & contrast

On white

12.00
#541B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B6C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B6C#FFFFFF#000000##FFFFFF
##541B6C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#16386A
Tritanopia (blue-blind)
#522C41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541b6c;
/* rgb */ color: rgb(84, 27, 108);
/* oklch */ color: oklch(35.2% 0.138 313.9);
Tailwind
colors: {
  custom: {
    50: '#875d97',
    500: '#541b6c',
    950: '#000000',
  },
}
SCSS
$custom: #541b6c;
$custom-light: #875d97;
$custom-dark: #000000;
JSON
{
  "hex": "#541b6c",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 282.222,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.13808,
    "h": 313.9
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#541B6C
secondary
#5EA142
accent
#E34574
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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