#50427A#50427A

#50427A is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.0% C 0.092 H 293.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#50427A
RGBrgb(80, 66, 122)
HSLhsl(255, 30%, 37%)
HSVhsv(255, 46%, 48%)
CMYKcmyk(34.4%, 45.9%, 0%, 52.2%)
CIE-LABlab(31.82, 19.79, -29.89)
CIE-LCHlch(31.82, 35.85, 303.51°)
OKLaboklab(42.02% 0.0367 -0.084)
OKLCHoklch(42.02% 0.092 293.6)
XYZxyz(8.7684, 7.0069, 19.2991)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50427A #6C7A42
analogous
#42507A #50427A #6C427A
triadic
#50427A #7A5042 #427A50
tetradic
#50427A #7A4250 #6C7A42 #427A6C
square
#50427A #7A4250 #6C7A42 #427A6C
split-complementary
#50427A #7A6C42 #507A42
monochromatic
#1C172B #362D52 #50427A #6A57A2 #8C7DB9

Accessibility & contrast

On white

8.74
#50427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#50427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50427A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50427A#FFFFFF#000000##FFFFFF
##50427A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#464C58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #50427a;
/* rgb */ color: rgb(80, 66, 122);
/* oklch */ color: oklch(42.0% 0.092 293.6);
Tailwind
colors: {
  custom: {
    50: '#8376a1',
    500: '#50427a',
    950: '#000000',
  },
}
SCSS
$custom: #50427a;
$custom-light: #8376a1;
$custom-dark: #000000;
JSON
{
  "hex": "#50427a",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 255,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.09165,
    "h": 293.6
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#50427A
secondary
#98A474
accent
#C662AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080F
muted
#7C7B7E

Preview Lab

Preview with #50427A

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

Preview Lab → · Contrast checker → · Palette generator →

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