#504666#504666

#504666 is a dark, muted violet. Relative luminance 0.070; OKLCH L 41.8% C 0.054 H 298.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#504666
RGBrgb(80, 70, 102)
HSLhsl(259, 19%, 34%)
HSVhsv(259, 31%, 40%)
CMYKcmyk(21.6%, 31.4%, 0%, 60%)
CIE-LABlab(31.91, 11.66, -17.16)
CIE-LCHlch(31.91, 20.75, 304.21°)
OKLaboklab(41.75% 0.0256 -0.0473)
OKLCHoklch(41.75% 0.054 298.4)
XYZxyz(7.8962, 7.0451, 13.5116)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504666 #5C6646
analogous
#464C66 #504666 #604666
triadic
#504666 #665046 #466650
tetradic
#504666 #66464C #5C6646 #466660
square
#504666 #66464C #5C6646 #466660
split-complementary
#504666 #666046 #4C6646
monochromatic
#17141D #342D42 #504666 #6C5F8A #8C7FA7

Accessibility & contrast

On white

8.72
#504666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#504666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504666
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504666#FFFFFF#000000##FFFFFF
##5046661.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4B67
Deuteranopia (green-blind)
#404B65
Tritanopia (blue-blind)
#4C4B51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504666;
/* rgb */ color: rgb(80, 70, 102);
/* oklch */ color: oklch(41.8% 0.054 298.4);
Tailwind
colors: {
  custom: {
    50: '#817991',
    500: '#504666',
    950: '#000000',
  },
}
SCSS
$custom: #504666;
$custom-light: #817991;
$custom-dark: #000000;
JSON
{
  "hex": "#504666",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 102
  },
  "hsl": {
    "h": 258.75,
    "s": 18.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.05372,
    "h": 298.4
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#504666
secondary
#8A9474
accent
#BB6DA3
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090D
muted
#7C7B7D

Preview Lab

Preview with #504666

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

Preview Lab → · Contrast checker → · Palette generator →

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