#504366#504366

#504366 is a dark, muted violet. Relative luminance 0.067; OKLCH L 41.1% C 0.059 H 300.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#504366
RGBrgb(80, 67, 102)
HSLhsl(262, 21%, 33%)
HSVhsv(262, 34%, 40%)
CMYKcmyk(21.6%, 34.3%, 0%, 60%)
CIE-LABlab(31.06, 13.61, -18.46)
CIE-LCHlch(31.06, 22.93, 306.39°)
OKLaboklab(41.11% 0.0305 -0.051)
OKLCHoklch(41.11% 0.059 300.9)
XYZxyz(7.7132, 6.6791, 13.4506)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504366 #596643
analogous
#434766 #504366 #614366
triadic
#504366 #665043 #436650
tetradic
#504366 #664347 #596643 #436661
square
#504366 #664347 #596643 #436661
split-complementary
#504366 #666143 #476643
monochromatic
#16121C #332B41 #504366 #6D5B8B #8C7BA8

Accessibility & contrast

On white

8.99
#504366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#504366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504366
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504366#FFFFFF#000000##FFFFFF
##5043661.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4967
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#4C4850
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504366;
/* rgb */ color: rgb(80, 67, 102);
/* oklch */ color: oklch(41.1% 0.059 300.9);
Tailwind
colors: {
  custom: {
    50: '#817791',
    500: '#504366',
    950: '#000000',
  },
}
SCSS
$custom: #504366;
$custom-light: #817791;
$custom-dark: #000000;
JSON
{
  "hex": "#504366",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 262.286,
    "s": 20.71,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.05939,
    "h": 300.9
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#504366
secondary
#879470
accent
#BD6B9F
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080D
muted
#7C7B7D

Preview Lab

Preview with #504366

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

Preview Lab → · Contrast checker → · Palette generator →

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