#541057#541057

#541057 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.131 H 326.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#541057
RGBrgb(84, 16, 87)
HSLhsl(297, 69%, 20%)
HSVhsv(297, 82%, 34%)
CMYKcmyk(3.4%, 81.6%, 0%, 65.9%)
CIE-LABlab(19.82, 39.73, -26.29)
CIE-LCHlch(19.82, 47.64, 326.50°)
OKLaboklab(32.61% 0.1092 -0.0731)
OKLCHoklch(32.61% 0.131 326.2)
XYZxyz(5.5616, 2.9439, 9.2903)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541057 #135710
analogous
#311057 #541057 #571036
triadic
#541057 #575410 #105754
tetradic
#541057 #573110 #135710 #103657
square
#541057 #573110 #135710 #103657
split-complementary
#541057 #365710 #105731
monochromatic
#19051A #220623 #541057 #861A8B #B823BE

Accessibility & contrast

On white

13.22
#541057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#541057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541057
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541057#FFFFFF#000000##FFFFFF
##5410571.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#561C33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541057;
/* rgb */ color: rgb(84, 16, 87);
/* oklch */ color: oklch(32.6% 0.131 326.2);
Tailwind
colors: {
  custom: {
    50: '#875787',
    500: '#541057',
    950: '#000000',
  },
}
SCSS
$custom: #541057;
$custom-light: #875787;
$custom-dark: #000000;
JSON
{
  "hex": "#541057",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 297.465,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.13142,
    "h": 326.2
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#541057
secondary
#369032
accent
#EC3C43
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541057

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

Preview Lab → · Contrast checker → · Palette generator →

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