#50208B#50208B

#50208B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.165 H 298.5°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#50208B
RGBrgb(80, 32, 139)
HSLhsl(267, 63%, 34%)
HSVhsv(267, 77%, 55%)
CMYKcmyk(42.4%, 77%, 0%, 45.5%)
CIE-LABlab(25.57, 44.27, -50.57)
CIE-LCHlch(25.57, 67.21, 311.20°)
OKLaboklab(37.83% 0.0784 -0.1446)
OKLCHoklch(37.83% 0.165 298.5)
XYZxyz(8.4838, 4.6024, 24.8625)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50208B #5B8B20
analogous
#20258B #50208B #85208B
triadic
#50208B #8B5020 #208B50
tetradic
#50208B #8B2025 #5B8B20 #208B85
square
#50208B #8B2025 #5B8B20 #208B85
split-complementary
#50208B #8B8520 #258B20
monochromatic
#170928 #331559 #50208B #6D2BBD #8C4FD6

Accessibility & contrast

On white

10.93
#50208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#50208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50208B
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50208B#FFFFFF#000000##FFFFFF
##50208B1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#413C54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #50208b;
/* rgb */ color: rgb(80, 32, 139);
/* oklch */ color: oklch(37.8% 0.165 298.5);
Tailwind
colors: {
  custom: {
    50: '#8761ae',
    500: '#50208b',
    950: '#000000',
  },
}
SCSS
$custom: #50208b;
$custom-light: #8761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#50208b",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 266.916,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.16451,
    "h": 298.5
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#50208B
secondary
#89BA4D
accent
#E6429C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #50208B

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

Preview Lab → · Contrast checker → · Palette generator →

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