#50427B#50427B

#50427B is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.1% C 0.093 H 293.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#50427B
RGBrgb(80, 66, 123)
HSLhsl(255, 30%, 37%)
HSVhsv(255, 46%, 48%)
CMYKcmyk(35%, 46.3%, 0%, 51.8%)
CIE-LABlab(31.88, 20.08, -30.43)
CIE-LCHlch(31.88, 36.46, 303.43°)
OKLaboklab(42.08% 0.0368 -0.0856)
OKLCHoklch(42.08% 0.093 293.3)
XYZxyz(8.8307, 7.0318, 19.6271)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50427B #6D7B42
analogous
#42517B #50427B #6D427B
triadic
#50427B #7B5042 #427B50
tetradic
#50427B #7B4251 #6D7B42 #427B6D
square
#50427B #7B4251 #6D7B42 #427B6D
split-complementary
#50427B #7B6D42 #517B42
monochromatic
#1C172B #362D53 #50427B #6A57A3 #8C7EBA

Accessibility & contrast

On white

8.73
#50427B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#50427B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##50427B#FFFFFF#000000##FFFFFF
##50427B1.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)
#2F4C7D
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#464D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #50427b;
/* rgb */ color: rgb(80, 66, 123);
/* oklch */ color: oklch(42.1% 0.093 293.3);
Tailwind
colors: {
  custom: {
    50: '#8376a1',
    500: '#50427b',
    950: '#000000',
  },
}
SCSS
$custom: #50427b;
$custom-light: #8376a1;
$custom-dark: #000000;
JSON
{
  "hex": "#50427b",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 254.737,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42081,
    "c": 0.09315,
    "h": 293.3
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#50427B
secondary
#99A574
accent
#C661AE
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080F
muted
#7C7B7E

Preview Lab

Preview with #50427B

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

Preview Lab → · Contrast checker → · Palette generator →

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