#54405A#54405A

#54405A is a dark, muted purple. Relative luminance 0.063; OKLCH L 40.3% C 0.050 H 318.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#54405A
RGBrgb(84, 64, 90)
HSLhsl(286, 17%, 30%)
HSVhsv(286, 29%, 35%)
CMYKcmyk(6.7%, 28.9%, 0%, 64.7%)
CIE-LABlab(30.13, 14.03, -12.17)
CIE-LCHlch(30.13, 18.57, 319.05°)
OKLaboklab(40.32% 0.0371 -0.0331)
OKLCHoklch(40.32% 0.05 318.3)
XYZxyz(7.3348, 6.2899, 10.4986)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54405A #465A40
analogous
#47405A #54405A #5A4053
triadic
#54405A #5A5440 #405A54
tetradic
#54405A #5A4740 #465A40 #40535A
square
#54405A #5A4740 #465A40 #40535A
split-complementary
#54405A #535A40 #405A47
monochromatic
#110D12 #332736 #54405A #75597E #95769E

Accessibility & contrast

On white

9.30
#54405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#54405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54405A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54405A#FFFFFF#000000##FFFFFF
##54405A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465B
Deuteranopia (green-blind)
#414859
Tritanopia (blue-blind)
#544349
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #54405a;
/* rgb */ color: rgb(84, 64, 90);
/* oklch */ color: oklch(40.3% 0.050 318.3);
Tailwind
colors: {
  custom: {
    50: '#847588',
    500: '#54405a',
    950: '#000000',
  },
}
SCSS
$custom: #54405a;
$custom-light: #847588;
$custom-dark: #000000;
JSON
{
  "hex": "#54405a",
  "rgb": {
    "r": 84,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 286.154,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.04969,
    "h": 318.3
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#54405A
secondary
#73896C
accent
#BA6E80
background
#F8F7F8
surface
#EFEDEF
border
#CAC8CA
text
#0B080B
muted
#7C7B7C

Preview Lab

Preview with #54405A

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

Preview Lab → · Contrast checker → · Palette generator →

#54405A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva