#541154#541154

#541154 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.128 H 328.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#541154
RGBrgb(84, 17, 84)
HSLhsl(300, 66%, 20%)
HSVhsv(300, 80%, 33%)
CMYKcmyk(0%, 79.8%, 0%, 67.1%)
CIE-LABlab(19.75, 38.81, -24.39)
CIE-LCHlch(19.75, 45.84, 327.85°)
OKLaboklab(32.5% 0.1083 -0.0676)
OKLCHoklch(32.5% 0.128 328)
XYZxyz(5.4568, 2.9262, 8.6632)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541154 #115411
analogous
#331154 #541154 #541133
triadic
#541154 #545411 #115454
tetradic
#541154 #543311 #115411 #113354
square
#541154 #543311 #115411 #113354
split-complementary
#541154 #335411 #115433
monochromatic
#190519 #210721 #541154 #871B87 #BA26BA

Accessibility & contrast

On white

13.25
#541154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541154
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541154#FFFFFF#000000##FFFFFF
##5411541.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042A56
Deuteranopia (green-blind)
#233352
Tritanopia (blue-blind)
#571C31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541154;
/* rgb */ color: rgb(84, 17, 84);
/* oklch */ color: oklch(32.5% 0.128 328.0);
Tailwind
colors: {
  custom: {
    50: '#875884',
    500: '#541154',
    950: '#000000',
  },
}
SCSS
$custom: #541154;
$custom-light: #875884;
$custom-dark: #000000;
JSON
{
  "hex": "#541154",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 300,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.325,
    "c": 0.12765,
    "h": 328
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#541154
secondary
#348D34
accent
#E93F3F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541154

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

Preview Lab → · Contrast checker → · Palette generator →

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