#541D72#541D72

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

Color values

HEX#541D72
RGBrgb(84, 29, 114)
HSLhsl(279, 59%, 28%)
HSVhsv(279, 75%, 45%)
CMYKcmyk(26.3%, 74.6%, 0%, 55.3%)
CIE-LABlab(23.60, 40.20, -37.94)
CIE-LCHlch(23.60, 55.28, 316.66°)
OKLaboklab(35.92% 0.0926 -0.1073)
OKLCHoklch(35.92% 0.142 310.8)
XYZxyz(7.1322, 3.9786, 16.3086)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D72 #3B721D
analogous
#2A1D72 #541D72 #721D65
triadic
#541D72 #72541D #1D7254
tetradic
#541D72 #722A1D #3B721D #1D6572
square
#541D72 #722A1D #3B721D #1D6572
split-complementary
#541D72 #65721D #1D722A
monochromatic
#120618 #301141 #541D72 #7829A3 #9A3CCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541D72#FFFFFF#000000##FFFFFF
##541D721.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)
#003674
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#503045
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541d72;
/* rgb */ color: rgb(84, 29, 114);
/* oklch */ color: oklch(35.9% 0.142 310.8);
Tailwind
colors: {
  custom: {
    50: '#885e9b',
    500: '#541d72',
    950: '#000000',
  },
}
SCSS
$custom: #541d72;
$custom-light: #885e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#541d72",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 278.824,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3592,
    "c": 0.14177,
    "h": 310.8
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#541D72
secondary
#67A645
accent
#E3457D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541D72

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

Preview Lab → · Contrast checker → · Palette generator →

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