#50428D#50428D

#50428D is a dark, moderate violet. Relative luminance 0.075; OKLCH L 43.3% C 0.120 H 289.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#50428D
RGBrgb(80, 66, 141)
HSLhsl(251, 36%, 41%)
HSVhsv(251, 53%, 55%)
CMYKcmyk(43.3%, 53.2%, 0%, 44.7%)
CIE-LABlab(32.97, 25.45, -39.83)
CIE-LCHlch(32.97, 47.26, 302.58°)
OKLaboklab(43.26% 0.0389 -0.1131)
OKLCHoklch(43.26% 0.12 289)
XYZxyz(10.0629, 7.5246, 26.1163)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50428D #7F8D42
analogous
#42598D #50428D #75428D
triadic
#50428D #8D5042 #428D50
tetradic
#50428D #8D4259 #7F8D42 #428D75
square
#50428D #8D4259 #7F8D42 #428D75
split-complementary
#50428D #8D7542 #598D42
monochromatic
#211B3A #382E63 #50428D #6B5AB2 #9084C5

Accessibility & contrast

On white

8.38
#50428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#50428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50428D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50428D#FFFFFF#000000##FFFFFF
##50428D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#3E5261
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #50428d;
/* rgb */ color: rgb(80, 66, 141);
/* oklch */ color: oklch(43.3% 0.120 289.0);
Tailwind
colors: {
  custom: {
    50: '#8576af',
    500: '#50428d',
    950: '#000000',
  },
}
SCSS
$custom: #50428d;
$custom-light: #8576af;
$custom-dark: #000000;
JSON
{
  "hex": "#50428d",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 251.2,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.1196,
    "h": 289
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#50428D
secondary
#A6B07B
accent
#CC5CB7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #50428D

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

Preview Lab → · Contrast checker → · Palette generator →

#50428D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva