#541D7A#541D7A

#541D7A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.150 H 307.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#541D7A
RGBrgb(84, 29, 122)
HSLhsl(275, 62%, 30%)
HSVhsv(275, 76%, 48%)
CMYKcmyk(31.1%, 76.2%, 0%, 52.2%)
CIE-LABlab(24.22, 42.11, -42.05)
CIE-LCHlch(24.22, 59.51, 315.04°)
OKLaboklab(36.56% 0.0913 -0.1194)
OKLCHoklch(36.56% 0.15 307.4)
XYZxyz(7.6076, 4.1688, 18.8125)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D7A #437A1D
analogous
#261D7A #541D7A #7A1D72
triadic
#541D7A #7A541D #1D7A54
tetradic
#541D7A #7A261D #437A1D #1D727A
square
#541D7A #7A261D #437A1D #1D727A
split-complementary
#541D7A #727A1D #1D7A26
monochromatic
#110619 #321149 #541D7A #7629AB #9640D2

Accessibility & contrast

On white

11.45
#541D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#541D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D7A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D7A#FFFFFF#000000##FFFFFF
##541D7A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#4E334A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541d7a;
/* rgb */ color: rgb(84, 29, 122);
/* oklch */ color: oklch(36.6% 0.150 307.4);
Tailwind
colors: {
  custom: {
    50: '#885fa1',
    500: '#541d7a',
    950: '#000000',
  },
}
SCSS
$custom: #541d7a;
$custom-light: #885fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#541d7a",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 275.484,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36557,
    "c": 0.15029,
    "h": 307.4
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#541D7A
secondary
#70AE45
accent
#E54385
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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