#541B76#541B76

#541B76 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.148 H 309.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#541B76
RGBrgb(84, 27, 118)
HSLhsl(278, 63%, 28%)
HSVhsv(278, 77%, 46%)
CMYKcmyk(28.8%, 77.1%, 0%, 53.7%)
CIE-LABlab(23.59, 42.04, -40.51)
CIE-LCHlch(23.59, 58.38, 316.06°)
OKLaboklab(36.01% 0.0941 -0.1149)
OKLCHoklch(36.01% 0.148 309.3)
XYZxyz(7.3174, 3.9768, 17.5182)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B76 #3D761B
analogous
#261B76 #541B76 #761B6A
triadic
#541B76 #76541B #1B7654
tetradic
#541B76 #76261B #3D761B #1B6A76
square
#541B76 #76261B #3D761B #1B6A76
split-complementary
#541B76 #6A761B #1B7626
monochromatic
#120619 #311044 #541B76 #7726A8 #993AD2

Accessibility & contrast

On white

11.70
#541B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#541B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B76
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B76#FFFFFF#000000##FFFFFF
##541B761.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#4F3047
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541b76;
/* rgb */ color: rgb(84, 27, 118);
/* oklch */ color: oklch(36.0% 0.148 309.3);
Tailwind
colors: {
  custom: {
    50: '#885e9e',
    500: '#541b76',
    950: '#000000',
  },
}
SCSS
$custom: #541b76;
$custom-light: #885e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#541b76",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 277.582,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36013,
    "c": 0.14849,
    "h": 309.3
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#541B76
secondary
#69AA42
accent
#E6427F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541B76

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

Preview Lab → · Contrast checker → · Palette generator →

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