#541A73#541A73

#541A73 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.147 H 310.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#541A73
RGBrgb(84, 26, 115)
HSLhsl(279, 63%, 28%)
HSVhsv(279, 77%, 45%)
CMYKcmyk(27%, 77.4%, 0%, 54.9%)
CIE-LABlab(23.21, 41.77, -39.21)
CIE-LCHlch(23.21, 57.29, 316.81°)
OKLaboklab(35.67% 0.0957 -0.111)
OKLCHoklch(35.67% 0.147 310.7)
XYZxyz(7.1195, 3.8616, 16.5866)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A73 #39731A
analogous
#271A73 #541A73 #731A66
triadic
#541A73 #73541A #1A7354
tetradic
#541A73 #73271A #39731A #1A6673
square
#541A73 #73271A #39731A #1A6673
split-complementary
#541A73 #66731A #1A7327
monochromatic
#120619 #300F41 #541A73 #7825A5 #9B36D2

Accessibility & contrast

On white

11.85
#541A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#541A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A73
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A73#FFFFFF#000000##FFFFFF
##541A731.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#502F45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541a73;
/* rgb */ color: rgb(84, 26, 115);
/* oklch */ color: oklch(35.7% 0.147 310.7);
Tailwind
colors: {
  custom: {
    50: '#885d9c',
    500: '#541a73',
    950: '#000000',
  },
}
SCSS
$custom: #541a73;
$custom-light: #885d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541a73",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 279.101,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35666,
    "c": 0.14658,
    "h": 310.7
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#541A73
secondary
#65A841
accent
#E6427B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541A73

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

Preview Lab → · Contrast checker → · Palette generator →

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