#504256#504256

#504256 is a dark, muted purple. Relative luminance 0.063; OKLCH L 40.1% C 0.038 H 315.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#504256
RGBrgb(80, 66, 86)
HSLhsl(282, 13%, 30%)
HSVhsv(282, 23%, 34%)
CMYKcmyk(7%, 23.3%, 0%, 66.3%)
CIE-LABlab(30.09, 10.26, -9.69)
CIE-LCHlch(30.09, 14.12, 316.64°)
OKLaboklab(40.13% 0.0269 -0.0262)
OKLCHoklch(40.13% 0.038 315.7)
XYZxyz(6.9359, 6.2739, 9.6479)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504256 #485642
analogous
#464256 #504256 #564252
triadic
#504256 #565042 #425650
tetradic
#504256 #564642 #485642 #425256
square
#504256 #564642 #485642 #425256
split-complementary
#504256 #525642 #425646
monochromatic
#100D11 #302733 #504256 #705D79 #8F7A99

Accessibility & contrast

On white

9.31
#504256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504256
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504256#FFFFFF#000000##FFFFFF
##5042561.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404657
Deuteranopia (green-blind)
#424755
Tritanopia (blue-blind)
#504449
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #504256;
/* rgb */ color: rgb(80, 66, 86);
/* oklch */ color: oklch(40.1% 0.038 315.7);
Tailwind
colors: {
  custom: {
    50: '#817685',
    500: '#504256',
    950: '#000000',
  },
}
SCSS
$custom: #504256;
$custom-light: #817685;
$custom-dark: #000000;
JSON
{
  "hex": "#504256",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 86
  },
  "hsl": {
    "h": 282,
    "s": 13.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.03753,
    "h": 315.7
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#504256
secondary
#75856F
accent
#B67286
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #504256

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

Preview Lab → · Contrast checker → · Palette generator →

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