#504254#504254

#504254 is a dark, muted purple. Relative luminance 0.062; OKLCH L 40.0% C 0.035 H 318.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#504254
RGBrgb(80, 66, 84)
HSLhsl(287, 12%, 29%)
HSVhsv(287, 21%, 33%)
CMYKcmyk(4.8%, 21.4%, 0%, 67.1%)
CIE-LABlab(30.02, 9.80, -8.52)
CIE-LCHlch(30.02, 12.98, 319.00°)
OKLaboklab(40.05% 0.0261 -0.023)
OKLCHoklch(40.05% 0.035 318.7)
XYZxyz(6.8565, 6.2421, 9.2294)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504254 #465442
analogous
#474254 #504254 #54424F
triadic
#504254 #545042 #425450
tetradic
#504254 #544742 #465442 #424F54
square
#504254 #544742 #465442 #424F54
split-complementary
#504254 #4F5442 #425447
monochromatic
#100D11 #2F2732 #504254 #715D76 #907A96

Accessibility & contrast

On white

9.34
#504254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#504254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504254
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504254#FFFFFF#000000##FFFFFF
##5042541.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#434753
Tritanopia (blue-blind)
#504448
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #504254;
/* rgb */ color: rgb(80, 66, 84);
/* oklch */ color: oklch(40.0% 0.035 318.7);
Tailwind
colors: {
  custom: {
    50: '#817684',
    500: '#504254',
    950: '#000000',
  },
}
SCSS
$custom: #504254;
$custom-light: #817684;
$custom-dark: #000000;
JSON
{
  "hex": "#504254",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 84
  },
  "hsl": {
    "h": 286.667,
    "s": 12,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.03475,
    "h": 318.7
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#504254
secondary
#73836F
accent
#B57382
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #504254

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

Preview Lab → · Contrast checker → · Palette generator →

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