#50416B#50416B

#50416B is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.9% C 0.071 H 299.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#50416B
RGBrgb(80, 65, 107)
HSLhsl(261, 24%, 34%)
HSVhsv(261, 39%, 42%)
CMYKcmyk(25.2%, 39.3%, 0%, 58%)
CIE-LABlab(30.75, 16.24, -22.12)
CIE-LCHlch(30.75, 27.44, 306.27°)
OKLaboklab(40.95% 0.0351 -0.0615)
OKLCHoklch(40.95% 0.071 299.7)
XYZxyz(7.8518, 6.5476, 14.7572)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50416B #5C6B41
analogous
#41476B #50416B #65416B
triadic
#50416B #6B5041 #416B50
tetradic
#50416B #6B4147 #5C6B41 #416B65
square
#50416B #6B4147 #5C6B41 #416B65
split-complementary
#50416B #6B6541 #476B41
monochromatic
#17131F #342A45 #50416B #6C5891 #8C79AE

Accessibility & contrast

On white

9.09
#50416B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#50416B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50416B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50416B#FFFFFF#000000##FFFFFF
##50416B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37486D
Deuteranopia (green-blind)
#39486A
Tritanopia (blue-blind)
#4B4851
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #50416b;
/* rgb */ color: rgb(80, 65, 107);
/* oklch */ color: oklch(40.9% 0.071 299.7);
Tailwind
colors: {
  custom: {
    50: '#827595',
    500: '#50416b',
    950: '#000000',
  },
}
SCSS
$custom: #50416b;
$custom-light: #827595;
$custom-dark: #000000;
JSON
{
  "hex": "#50416b",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 107
  },
  "hsl": {
    "h": 261.429,
    "s": 24.419,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.07078,
    "h": 299.7
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#50416B
secondary
#8A996F
accent
#C167A1
background
#F8F7F9
surface
#EFEDF1
border
#CAC8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #50416B

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

Preview Lab → · Contrast checker → · Palette generator →

#50416B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva