#56405A#56405A

#56405A is a dark, muted purple. Relative luminance 0.064; OKLCH L 40.5% C 0.051 H 321.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#56405A
RGBrgb(86, 64, 90)
HSLhsl(291, 17%, 30%)
HSVhsv(291, 29%, 35%)
CMYKcmyk(4.4%, 28.9%, 0%, 64.7%)
CIE-LABlab(30.36, 14.79, -11.80)
CIE-LCHlch(30.36, 18.92, 321.40°)
OKLaboklab(40.55% 0.0398 -0.032)
OKLCHoklch(40.55% 0.051 321.2)
XYZxyz(7.5164, 6.3836, 10.5071)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56405A #445A40
analogous
#49405A #56405A #5A4051
triadic
#56405A #5A5640 #405A56
tetradic
#56405A #5A4940 #445A40 #40515A
square
#56405A #5A4940 #445A40 #40515A
split-complementary
#56405A #515A40 #405A49
monochromatic
#120D12 #342736 #56405A #78597E #98769E

Accessibility & contrast

On white

9.22
#56405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#56405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56405A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56405A#FFFFFF#000000##FFFFFF
##56405A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56405a;
/* rgb */ color: rgb(86, 64, 90);
/* oklch */ color: oklch(40.5% 0.051 321.2);
Tailwind
colors: {
  custom: {
    50: '#867588',
    500: '#56405a',
    950: '#000000',
  },
}
SCSS
$custom: #56405a;
$custom-light: #867588;
$custom-dark: #000000;
JSON
{
  "hex": "#56405a",
  "rgb": {
    "r": 86,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 290.769,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.05104,
    "h": 321.2
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#56405A
secondary
#71896C
accent
#BA6E7A
background
#F8F7F8
surface
#EFEDEF
border
#CAC8CA
text
#0B080B
muted
#7C7B7C

Preview Lab

Preview with #56405A

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

Preview Lab → · Contrast checker → · Palette generator →

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