#504255#504255

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

Color values

HEX#504255
RGBrgb(80, 66, 85)
HSLhsl(284, 13%, 30%)
HSVhsv(284, 22%, 33%)
CMYKcmyk(5.9%, 22.4%, 0%, 66.7%)
CIE-LABlab(30.05, 10.03, -9.11)
CIE-LCHlch(30.05, 13.55, 317.76°)
OKLaboklab(40.09% 0.0265 -0.0246)
OKLCHoklch(40.09% 0.036 317.1)
XYZxyz(6.8959, 6.2579, 9.4372)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504255 #475542
analogous
#474255 #504255 #554251
triadic
#504255 #555042 #425550
tetradic
#504255 #554742 #475542 #425155
square
#504255 #554742 #475542 #425155
split-complementary
#504255 #515542 #425547
monochromatic
#100D11 #302733 #504255 #705D77 #907A98

Accessibility & contrast

On white

9.33
#504255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504255
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504255#FFFFFF#000000##FFFFFF
##5042551.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504255;
/* rgb */ color: rgb(80, 66, 85);
/* oklch */ color: oklch(40.1% 0.036 317.1);
Tailwind
colors: {
  custom: {
    50: '#817684',
    500: '#504255',
    950: '#000000',
  },
}
SCSS
$custom: #504255;
$custom-light: #817684;
$custom-dark: #000000;
JSON
{
  "hex": "#504255",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 284.211,
    "s": 12.583,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.03613,
    "h": 317.1
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#504255
secondary
#74846F
accent
#B57284
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #504255

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

Preview Lab → · Contrast checker → · Palette generator →

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