#541E73#541E73

#541E73 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.142 H 310.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#541E73
RGBrgb(84, 30, 115)
HSLhsl(278, 59%, 28%)
HSVhsv(278, 74%, 45%)
CMYKcmyk(27%, 73.9%, 0%, 54.9%)
CIE-LABlab(23.84, 39.98, -38.19)
CIE-LCHlch(23.84, 55.29, 316.31°)
OKLaboklab(36.11% 0.0914 -0.1081)
OKLCHoklch(36.11% 0.142 310.2)
XYZxyz(7.2143, 4.0513, 16.6183)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E73 #3D731E
analogous
#291E73 #541E73 #731E67
triadic
#541E73 #73541E #1E7354
tetradic
#541E73 #73291E #3D731E #1E6773
square
#541E73 #73291E #3D731E #1E6773
split-complementary
#541E73 #67731E #1E7329
monochromatic
#120618 #311142 #541E73 #772BA4 #993FCD

Accessibility & contrast

On white

11.60
#541E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#541E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E73
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E73#FFFFFF#000000##FFFFFF
##541E731.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#0F3A71
Tritanopia (blue-blind)
#503146
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541e73;
/* rgb */ color: rgb(84, 30, 115);
/* oklch */ color: oklch(36.1% 0.142 310.2);
Tailwind
colors: {
  custom: {
    50: '#885f9c',
    500: '#541e73',
    950: '#000000',
  },
}
SCSS
$custom: #541e73;
$custom-light: #885f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541e73",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 278.118,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36114,
    "c": 0.14153,
    "h": 310.2
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#541E73
secondary
#69A746
accent
#E2467F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541E73

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

Preview Lab → · Contrast checker → · Palette generator →

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