#50428E#50428E

#50428E is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.3% C 0.121 H 288.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#50428E
RGBrgb(80, 66, 142)
HSLhsl(251, 37%, 41%)
HSVhsv(251, 54%, 56%)
CMYKcmyk(43.7%, 53.5%, 0%, 44.3%)
CIE-LABlab(33.04, 25.75, -40.34)
CIE-LCHlch(33.04, 47.86, 302.55°)
OKLaboklab(43.32% 0.039 -0.1146)
OKLCHoklch(43.32% 0.121 288.8)
XYZxyz(10.1376, 7.5545, 26.5100)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50428E #808E42
analogous
#425A8E #50428E #76428E
triadic
#50428E #8E5042 #428E50
tetradic
#50428E #8E425A #808E42 #428E76
square
#50428E #8E425A #808E42 #428E76
split-complementary
#50428E #8E7642 #5A8E42
monochromatic
#211B3A #382F64 #50428E #6B5BB3 #9084C6

Accessibility & contrast

On white

8.36
#50428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50428E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50428E#FFFFFF#000000##FFFFFF
##50428E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#204C8C
Tritanopia (blue-blind)
#3E5261
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #50428e;
/* rgb */ color: rgb(80, 66, 142);
/* oklch */ color: oklch(43.3% 0.121 288.8);
Tailwind
colors: {
  custom: {
    50: '#8576af',
    500: '#50428e',
    950: '#000000',
  },
}
SCSS
$custom: #50428e;
$custom-light: #8576af;
$custom-dark: #000000;
JSON
{
  "hex": "#50428e",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 251.053,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.12104,
    "h": 288.8
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#50428E
secondary
#A7B17B
accent
#CD5BB8
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #50428E

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

Preview Lab → · Contrast checker → · Palette generator →

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