#541073#541073

#541073 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.157 H 311.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#541073
RGBrgb(84, 16, 115)
HSLhsl(281, 76%, 26%)
HSVhsv(281, 86%, 45%)
CMYKcmyk(27%, 86.1%, 0%, 54.9%)
CIE-LABlab(21.92, 45.49, -41.30)
CIE-LCHlch(21.92, 61.44, 317.76°)
OKLaboklab(34.76% 0.1046 -0.1171)
OKLCHoklch(34.76% 0.157 311.8)
XYZxyz(6.9354, 3.4934, 16.5253)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541073 #2F7310
analogous
#221073 #541073 #731060
triadic
#541073 #735410 #107354
tetradic
#541073 #732210 #2F7310 #106073
square
#541073 #732210 #2F7310 #106073
split-complementary
#541073 #607310 #107322
monochromatic
#14041B #2D093D #541073 #7B17A9 #A21FDE

Accessibility & contrast

On white

12.36
#541073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#541073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541073
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541073#FFFFFF#000000##FFFFFF
##5410731.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#502A43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541073;
/* rgb */ color: rgb(84, 16, 115);
/* oklch */ color: oklch(34.8% 0.157 311.8);
Tailwind
colors: {
  custom: {
    50: '#88599c',
    500: '#541073',
    950: '#000000',
  },
}
SCSS
$custom: #541073;
$custom-light: #88599c;
$custom-dark: #000000;
JSON
{
  "hex": "#541073",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 281.212,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34761,
    "c": 0.15701,
    "h": 311.8
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#541073
secondary
#59AA34
accent
#F23671
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541073

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

Preview Lab → · Contrast checker → · Palette generator →

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