#541573#541573

#541573 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.152 H 311.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#541573
RGBrgb(84, 21, 115)
HSLhsl(280, 69%, 27%)
HSVhsv(280, 82%, 45%)
CMYKcmyk(27%, 81.7%, 0%, 54.9%)
CIE-LABlab(22.51, 43.77, -40.34)
CIE-LCHlch(22.51, 59.53, 317.33°)
OKLaboklab(35.17% 0.1005 -0.1143)
OKLCHoklch(35.17% 0.152 311.3)
XYZxyz(7.0182, 3.6591, 16.5529)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541573 #347315
analogous
#251573 #541573 #731563
triadic
#541573 #735415 #157354
tetradic
#541573 #732515 #347315 #156373
square
#541573 #732515 #347315 #156373
split-complementary
#541573 #637315 #157325
monochromatic
#13051A #2E0C3F #541573 #7A1EA7 #9F2AD8

Accessibility & contrast

On white

12.13
#541573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#541573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541573
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541573#FFFFFF#000000##FFFFFF
##5415731.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541573;
/* rgb */ color: rgb(84, 21, 115);
/* oklch */ color: oklch(35.2% 0.152 311.3);
Tailwind
colors: {
  custom: {
    50: '#885b9c',
    500: '#541573',
    950: '#000000',
  },
}
SCSS
$custom: #541573;
$custom-light: #885b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541573",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 280.213,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35174,
    "c": 0.15221,
    "h": 311.3
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#541573
secondary
#5FA93B
accent
#EC3C76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541573

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

Preview Lab → · Contrast checker → · Palette generator →

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