#504451#504451

#504451 is a dark, muted purple. Relative luminance 0.064; OKLCH L 40.4% C 0.027 H 323.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#504451
RGBrgb(80, 68, 81)
HSLhsl(295, 9%, 29%)
HSVhsv(295, 16%, 32%)
CMYKcmyk(1.2%, 16%, 0%, 68.2%)
CIE-LABlab(30.48, 7.83, -5.88)
CIE-LCHlch(30.48, 9.79, 323.09°)
OKLaboklab(40.37% 0.0214 -0.0157)
OKLCHoklch(40.37% 0.027 323.6)
XYZxyz(6.8604, 6.4339, 8.6635)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504451 #455144
analogous
#4A4451 #504451 #51444C
triadic
#504451 #515044 #445150
tetradic
#504451 #514A44 #455144 #444C51
square
#504451 #514A44 #455144 #444C51
split-complementary
#504451 #4C5144 #44514A
monochromatic
#100E11 #2F2830 #504451 #716072 #917D92

Accessibility & contrast

On white

9.18
#504451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#504451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504451
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504451#FFFFFF#000000##FFFFFF
##5044511.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#464851
Tritanopia (blue-blind)
#514548
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #504451;
/* rgb */ color: rgb(80, 68, 81);
/* oklch */ color: oklch(40.4% 0.027 323.6);
Tailwind
colors: {
  custom: {
    50: '#817881',
    500: '#504451',
    950: '#000000',
  },
}
SCSS
$custom: #504451;
$custom-light: #817881;
$custom-dark: #000000;
JSON
{
  "hex": "#504451",
  "rgb": {
    "r": 80,
    "g": 68,
    "b": 81
  },
  "hsl": {
    "h": 295.385,
    "s": 8.725,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4037,
    "c": 0.02653,
    "h": 323.6
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#504451
secondary
#728071
accent
#B2767B
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #504451

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

Preview Lab → · Contrast checker → · Palette generator →

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