#541C76#541C76

#541C76 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.147 H 309.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#541C76
RGBrgb(84, 28, 118)
HSLhsl(277, 62%, 29%)
HSVhsv(277, 76%, 46%)
CMYKcmyk(28.8%, 76.3%, 0%, 53.7%)
CIE-LABlab(23.75, 41.60, -40.26)
CIE-LCHlch(23.75, 57.89, 315.94°)
OKLaboklab(36.12% 0.0931 -0.1141)
OKLCHoklch(36.12% 0.147 309.2)
XYZxyz(7.3408, 4.0235, 17.5259)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C76 #3E761C
analogous
#271C76 #541C76 #761C6B
triadic
#541C76 #76541C #1C7654
tetradic
#541C76 #76271C #3E761C #1C6B76
square
#541C76 #76271C #3E761C #1C6B76
split-complementary
#541C76 #6B761C #1C7627
monochromatic
#120619 #311045 #541C76 #7728A7 #983CD1

Accessibility & contrast

On white

11.64
#541C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C76
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C76#FFFFFF#000000##FFFFFF
##541C761.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#043974
Tritanopia (blue-blind)
#4F3147
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541c76;
/* rgb */ color: rgb(84, 28, 118);
/* oklch */ color: oklch(36.1% 0.147 309.2);
Tailwind
colors: {
  custom: {
    50: '#885e9e',
    500: '#541c76',
    950: '#000000',
  },
}
SCSS
$custom: #541c76;
$custom-light: #885e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#541c76",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 277.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36122,
    "c": 0.14727,
    "h": 309.2
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#541C76
secondary
#6AAA44
accent
#E54380
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541C76

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

Preview Lab → · Contrast checker → · Palette generator →

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