#504668#504668

#504668 is a dark, muted violet. Relative luminance 0.071; OKLCH L 41.9% C 0.057 H 297.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#504668
RGBrgb(80, 70, 104)
HSLhsl(258, 20%, 34%)
HSVhsv(258, 33%, 41%)
CMYKcmyk(23.1%, 32.7%, 0%, 59.2%)
CIE-LABlab(32.00, 12.19, -18.28)
CIE-LCHlch(32.00, 21.98, 303.70°)
OKLaboklab(41.85% 0.0262 -0.0505)
OKLCHoklch(41.85% 0.057 297.4)
XYZxyz(7.9966, 7.0852, 14.0403)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504668 #5E6846
analogous
#464D68 #504668 #614668
triadic
#504668 #685046 #466850
tetradic
#504668 #68464D #5E6846 #466861
square
#504668 #68464D #5E6846 #466861
split-complementary
#504668 #686146 #4D6846
monochromatic
#18151F #342D43 #504668 #6C5F8D #8C7FA9

Accessibility & contrast

On white

8.69
#504668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#504668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504668
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504668#FFFFFF#000000##FFFFFF
##5046681.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4B69
Deuteranopia (green-blind)
#404B67
Tritanopia (blue-blind)
#4B4B52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504668;
/* rgb */ color: rgb(80, 70, 104);
/* oklch */ color: oklch(41.9% 0.057 297.4);
Tailwind
colors: {
  custom: {
    50: '#817993',
    500: '#504668',
    950: '#000000',
  },
}
SCSS
$custom: #504668;
$custom-light: #817993;
$custom-dark: #000000;
JSON
{
  "hex": "#504668",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 104
  },
  "hsl": {
    "h": 257.647,
    "s": 19.54,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41853,
    "c": 0.05685,
    "h": 297.4
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#504668
secondary
#8C9674
accent
#BC6CA4
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #504668

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

Preview Lab → · Contrast checker → · Palette generator →

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