#541D73#541D73

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

Color values

HEX#541D73
RGBrgb(84, 29, 115)
HSLhsl(278, 60%, 28%)
HSVhsv(278, 75%, 45%)
CMYKcmyk(27%, 74.8%, 0%, 54.9%)
CIE-LABlab(23.68, 40.44, -38.46)
CIE-LCHlch(23.68, 55.80, 316.44°)
OKLaboklab(36% 0.0925 -0.1088)
OKLCHoklch(36% 0.143 310.4)
XYZxyz(7.1894, 4.0015, 16.6100)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D73 #3C731D
analogous
#291D73 #541D73 #731D67
triadic
#541D73 #73541D #1D7354
tetradic
#541D73 #73291D #3C731D #1D6773
square
#541D73 #73291D #3C731D #1D6773
split-complementary
#541D73 #67731D #1D7329
monochromatic
#120618 #301142 #541D73 #7829A4 #993CCE

Accessibility & contrast

On white

11.67
#541D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541D73
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D73#FFFFFF#000000##FFFFFF
##541D731.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#0D3971
Tritanopia (blue-blind)
#503046
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541d73;
/* rgb */ color: rgb(84, 29, 115);
/* oklch */ color: oklch(36.0% 0.143 310.4);
Tailwind
colors: {
  custom: {
    50: '#885f9c',
    500: '#541d73',
    950: '#000000',
  },
}
SCSS
$custom: #541d73;
$custom-light: #885f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541d73",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 278.372,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35998,
    "c": 0.14284,
    "h": 310.4
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#541D73
secondary
#68A745
accent
#E3457E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541D73

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

Preview Lab → · Contrast checker → · Palette generator →

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