#541473#541473

#541473 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.153 H 311.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#541473
RGBrgb(84, 20, 115)
HSLhsl(280, 70%, 26%)
HSVhsv(280, 83%, 45%)
CMYKcmyk(27%, 82.6%, 0%, 54.9%)
CIE-LABlab(22.38, 44.14, -40.55)
CIE-LCHlch(22.38, 59.94, 317.43°)
OKLaboklab(35.09% 0.1014 -0.1149)
OKLCHoklch(35.09% 0.153 311.4)
XYZxyz(7.0002, 3.6231, 16.5469)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541473 #337314
analogous
#251473 #541473 #731463
triadic
#541473 #735414 #147354
tetradic
#541473 #732514 #337314 #146373
square
#541473 #732514 #337314 #146373
split-complementary
#541473 #637314 #147325
monochromatic
#13051A #2E0B3F #541473 #7A1DA7 #A028DA

Accessibility & contrast

On white

12.18
#541473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541473
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541473#FFFFFF#000000##FFFFFF
##5414731.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#502C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541473;
/* rgb */ color: rgb(84, 20, 115);
/* oklch */ color: oklch(35.1% 0.153 311.4);
Tailwind
colors: {
  custom: {
    50: '#885a9c',
    500: '#541473',
    950: '#000000',
  },
}
SCSS
$custom: #541473;
$custom-light: #885a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541473",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 280.421,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35085,
    "c": 0.15324,
    "h": 311.4
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#541473
secondary
#5EA93A
accent
#ED3B75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541473

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

Preview Lab → · Contrast checker → · Palette generator →

#541473 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva