#541373#541373

#541373 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.154 H 311.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#541373
RGBrgb(84, 19, 115)
HSLhsl(281, 72%, 26%)
HSVhsv(281, 83%, 45%)
CMYKcmyk(27%, 83.5%, 0%, 54.9%)
CIE-LABlab(22.26, 44.49, -40.75)
CIE-LCHlch(22.26, 60.33, 317.51°)
OKLaboklab(35% 0.1022 -0.1155)
OKLCHoklch(35% 0.154 311.5)
XYZxyz(6.9830, 3.5886, 16.5411)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541373 #327313
analogous
#241373 #541373 #731362
triadic
#541373 #735413 #137354
tetradic
#541373 #732413 #327313 #136273
square
#541373 #732413 #327313 #136273
split-complementary
#541373 #627313 #137324
monochromatic
#13041A #2E0A3E #541373 #7A1CA8 #A025DB

Accessibility & contrast

On white

12.23
#541373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541373
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541373#FFFFFF#000000##FFFFFF
##5413731.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#502B44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541373;
/* rgb */ color: rgb(84, 19, 115);
/* oklch */ color: oklch(35.0% 0.154 311.5);
Tailwind
colors: {
  custom: {
    50: '#885a9c',
    500: '#541373',
    950: '#000000',
  },
}
SCSS
$custom: #541373;
$custom-light: #885a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541373",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 280.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35,
    "c": 0.15424,
    "h": 311.5
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#541373
secondary
#5DAA38
accent
#EE3974
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541373

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

Preview Lab → · Contrast checker → · Palette generator →

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