#541759#541759

#541759 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.125 H 324.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#541759
RGBrgb(84, 23, 89)
HSLhsl(295, 59%, 22%)
HSVhsv(295, 74%, 35%)
CMYKcmyk(5.6%, 74.2%, 0%, 65.1%)
CIE-LABlab(20.90, 37.40, -25.91)
CIE-LCHlch(20.90, 45.50, 325.29°)
OKLaboklab(33.43% 0.1016 -0.072)
OKLCHoklch(33.43% 0.125 324.7)
XYZxyz(5.7656, 3.2192, 9.7669)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541759 #1C5917
analogous
#331759 #541759 #59173D
triadic
#541759 #595417 #175954
tetradic
#541759 #593317 #1C5917 #173D59
square
#541759 #593317 #1C5917 #173D59
split-complementary
#541759 #3D5917 #175933
monochromatic
#170618 #260A28 #541759 #82248A #B030BA

Accessibility & contrast

On white

12.78
#541759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#541759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541759
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541759#FFFFFF#000000##FFFFFF
##5417591.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5B
Deuteranopia (green-blind)
#233557
Tritanopia (blue-blind)
#562236
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541759;
/* rgb */ color: rgb(84, 23, 89);
/* oklch */ color: oklch(33.4% 0.125 324.7);
Tailwind
colors: {
  custom: {
    50: '#875a88',
    500: '#541759',
    950: '#000000',
  },
}
SCSS
$custom: #541759;
$custom-light: #875a88;
$custom-dark: #000000;
JSON
{
  "hex": "#541759",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 295.455,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.12455,
    "h": 324.7
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#541759
secondary
#42903C
accent
#E24652
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #541759

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

Preview Lab → · Contrast checker → · Palette generator →

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