#50208A#50208A

#50208A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.163 H 298.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#50208A
RGBrgb(80, 32, 138)
HSLhsl(267, 62%, 33%)
HSVhsv(267, 77%, 54%)
CMYKcmyk(42%, 76.8%, 0%, 45.9%)
CIE-LABlab(25.48, 44.01, -50.09)
CIE-LCHlch(25.48, 66.68, 311.30°)
OKLaboklab(37.74% 0.0787 -0.1432)
OKLCHoklch(37.74% 0.163 298.8)
XYZxyz(8.4111, 4.5734, 24.4794)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50208A #5A8A20
analogous
#20258A #50208A #85208A
triadic
#50208A #8A5020 #208A50
tetradic
#50208A #8A2025 #5A8A20 #208A85
square
#50208A #8A2025 #5A8A20 #208A85
split-complementary
#50208A #8A8520 #258A20
monochromatic
#160927 #331458 #50208A #6D2CBC #8C4ED6

Accessibility & contrast

On white

10.97
#50208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#50208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50208A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50208A#FFFFFF#000000##FFFFFF
##50208A1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#423C54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #50208a;
/* rgb */ color: rgb(80, 32, 138);
/* oklch */ color: oklch(37.7% 0.163 298.8);
Tailwind
colors: {
  custom: {
    50: '#8761ad',
    500: '#50208a',
    950: '#000000',
  },
}
SCSS
$custom: #50208a;
$custom-light: #8761ad;
$custom-dark: #000000;
JSON
{
  "hex": "#50208a",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 267.17,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37743,
    "c": 0.1634,
    "h": 298.8
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#50208A
secondary
#88B94D
accent
#E5429C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #50208A

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

Preview Lab → · Contrast checker → · Palette generator →

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