#541054#541054

#541054 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.129 H 328.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#541054
RGBrgb(84, 16, 84)
HSLhsl(300, 68%, 20%)
HSVhsv(300, 81%, 33%)
CMYKcmyk(0%, 81%, 0%, 67.1%)
CIE-LABlab(19.62, 39.16, -24.59)
CIE-LCHlch(19.62, 46.24, 327.88°)
OKLaboklab(32.41% 0.1093 -0.0682)
OKLCHoklch(32.41% 0.129 328.1)
XYZxyz(5.4416, 2.8959, 8.6581)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541054 #105410
analogous
#321054 #541054 #541032
triadic
#541054 #545410 #105454
tetradic
#541054 #543210 #105410 #103254
square
#541054 #543210 #105410 #103254
split-complementary
#541054 #325410 #105432
monochromatic
#1A051A #210621 #541054 #871A87 #BB24BB

Accessibility & contrast

On white

13.30
#541054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#541054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541054
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541054#FFFFFF#000000##FFFFFF
##5410541.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032A56
Deuteranopia (green-blind)
#233352
Tritanopia (blue-blind)
#571B31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #541054;
/* rgb */ color: rgb(84, 16, 84);
/* oklch */ color: oklch(32.4% 0.129 328.1);
Tailwind
colors: {
  custom: {
    50: '#875784',
    500: '#541054',
    950: '#000000',
  },
}
SCSS
$custom: #541054;
$custom-light: #875784;
$custom-dark: #000000;
JSON
{
  "hex": "#541054",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 300,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32412,
    "c": 0.12881,
    "h": 328.1
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#541054
secondary
#328E32
accent
#EB3D3D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C030B
muted
#7D787C

Preview Lab

Preview with #541054

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

Preview Lab → · Contrast checker → · Palette generator →

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