#504665#504665

#504665 is a dark, muted violet. Relative luminance 0.070; OKLCH L 41.7% C 0.052 H 298.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#504665
RGBrgb(80, 70, 101)
HSLhsl(259, 18%, 34%)
HSVhsv(259, 31%, 40%)
CMYKcmyk(20.8%, 30.7%, 0%, 60.4%)
CIE-LABlab(31.86, 11.40, -16.59)
CIE-LCHlch(31.86, 20.13, 304.50°)
OKLaboklab(41.7% 0.0252 -0.0457)
OKLCHoklch(41.7% 0.052 298.9)
XYZxyz(7.8469, 7.0253, 13.2520)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504665 #5B6546
analogous
#464B65 #504665 #5F4665
triadic
#504665 #655046 #466550
tetradic
#504665 #65464B #5B6546 #46655F
square
#504665 #65464B #5B6546 #46655F
split-complementary
#504665 #655F46 #4B6546
monochromatic
#17141D #332D41 #504665 #6D5F89 #8C7FA6

Accessibility & contrast

On white

8.73
#504665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504665
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504665#FFFFFF#000000##FFFFFF
##5046651.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4B66
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#4C4B51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504665;
/* rgb */ color: rgb(80, 70, 101);
/* oklch */ color: oklch(41.7% 0.052 298.9);
Tailwind
colors: {
  custom: {
    50: '#817991',
    500: '#504665',
    950: '#000000',
  },
}
SCSS
$custom: #504665;
$custom-light: #817991;
$custom-dark: #000000;
JSON
{
  "hex": "#504665",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 101
  },
  "hsl": {
    "h": 259.355,
    "s": 18.129,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41704,
    "c": 0.05216,
    "h": 298.9
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#504665
secondary
#899374
accent
#BB6DA2
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #504665

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

Preview Lab → · Contrast checker → · Palette generator →

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