#541C7A#541C7A

#541C7A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.151 H 307.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#541C7A
RGBrgb(84, 28, 122)
HSLhsl(276, 63%, 29%)
HSVhsv(276, 77%, 48%)
CMYKcmyk(31.1%, 77%, 0%, 52.2%)
CIE-LABlab(24.07, 42.55, -42.30)
CIE-LCHlch(24.07, 60.00, 315.17°)
OKLaboklab(36.45% 0.0923 -0.1201)
OKLCHoklch(36.45% 0.151 307.5)
XYZxyz(7.5835, 4.1206, 18.8044)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C7A #427A1C
analogous
#251C7A #541C7A #7A1C71
triadic
#541C7A #7A541C #1C7A54
tetradic
#541C7A #7A251C #427A1C #1C717A
square
#541C7A #7A251C #427A1C #1C717A
split-complementary
#541C7A #717A1C #1C7A25
monochromatic
#110619 #321148 #541C7A #7627AC #963ED3

Accessibility & contrast

On white

11.51
#541C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#541C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C7A
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C7A#FFFFFF#000000##FFFFFF
##541C7A1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#4E334A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541c7a;
/* rgb */ color: rgb(84, 28, 122);
/* oklch */ color: oklch(36.4% 0.151 307.5);
Tailwind
colors: {
  custom: {
    50: '#885ea1',
    500: '#541c7a',
    950: '#000000',
  },
}
SCSS
$custom: #541c7a;
$custom-light: #885ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#541c7a",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 275.745,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36446,
    "c": 0.15149,
    "h": 307.5
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#541C7A
secondary
#6FAE44
accent
#E64284
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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