#504662#504662

#504662 is a dark, muted violet. Relative luminance 0.070; OKLCH L 41.6% C 0.047 H 300.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#504662
RGBrgb(80, 70, 98)
HSLhsl(261, 17%, 33%)
HSVhsv(261, 29%, 38%)
CMYKcmyk(18.4%, 28.6%, 0%, 61.6%)
CIE-LABlab(31.73, 10.63, -14.88)
CIE-LCHlch(31.73, 18.29, 305.53°)
OKLaboklab(41.56% 0.0243 -0.0408)
OKLCHoklch(41.56% 0.047 300.7)
XYZxyz(7.7026, 6.9676, 12.4920)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504662 #586246
analogous
#464A62 #504662 #5E4662
triadic
#504662 #625046 #466250
tetradic
#504662 #62464A #586246 #46625E
square
#504662 #62464A #586246 #46625E
split-complementary
#504662 #625E46 #4A6246
monochromatic
#16131B #332C3E #504662 #6D5F86 #8C7FA3

Accessibility & contrast

On white

8.77
#504662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#504662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504662
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504662#FFFFFF#000000##FFFFFF
##5046621.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B63
Deuteranopia (green-blind)
#424B61
Tritanopia (blue-blind)
#4D4A50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504662;
/* rgb */ color: rgb(80, 70, 98);
/* oklch */ color: oklch(41.6% 0.047 300.7);
Tailwind
colors: {
  custom: {
    50: '#81798e',
    500: '#504662',
    950: '#000000',
  },
}
SCSS
$custom: #504662;
$custom-light: #81798e;
$custom-dark: #000000;
JSON
{
  "hex": "#504662",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 98
  },
  "hsl": {
    "h": 261.429,
    "s": 16.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.04747,
    "h": 300.7
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#504662
secondary
#869073
accent
#B96E9F
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #504662

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

Preview Lab → · Contrast checker → · Palette generator →

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