#504456#504456

#504456 is a dark, muted purple. Relative luminance 0.065; OKLCH L 40.6% C 0.033 H 314.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#504456
RGBrgb(80, 68, 86)
HSLhsl(280, 12%, 30%)
HSVhsv(280, 21%, 34%)
CMYKcmyk(7%, 20.9%, 0%, 66.3%)
CIE-LABlab(30.67, 8.97, -8.82)
CIE-LCHlch(30.67, 12.58, 315.48°)
OKLaboklab(40.58% 0.0234 -0.0238)
OKLCHoklch(40.58% 0.033 314.4)
XYZxyz(7.0548, 6.5117, 9.6875)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504456 #4A5644
analogous
#474456 #504456 #564453
triadic
#504456 #565044 #445650
tetradic
#504456 #564744 #4A5644 #445356
square
#504456 #564744 #4A5644 #445356
split-complementary
#504456 #535644 #445647
monochromatic
#100E12 #302934 #504456 #705F78 #8F7D98

Accessibility & contrast

On white

9.12
#504456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#504456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504456
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504456#FFFFFF#000000##FFFFFF
##5044561.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424757
Deuteranopia (green-blind)
#444955
Tritanopia (blue-blind)
#50464A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #504456;
/* rgb */ color: rgb(80, 68, 86);
/* oklch */ color: oklch(40.6% 0.033 314.4);
Tailwind
colors: {
  custom: {
    50: '#817885',
    500: '#504456',
    950: '#000000',
  },
}
SCSS
$custom: #504456;
$custom-light: #817885;
$custom-dark: #000000;
JSON
{
  "hex": "#504456",
  "rgb": {
    "r": 80,
    "g": 68,
    "b": 86
  },
  "hsl": {
    "h": 280,
    "s": 11.688,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.03336,
    "h": 314.4
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#504456
secondary
#788571
accent
#B57389
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #504456

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

Preview Lab → · Contrast checker → · Palette generator →

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