#50209B#50209B

#50209B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.182 H 293.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#50209B
RGBrgb(80, 32, 155)
HSLhsl(263, 66%, 37%)
HSVhsv(263, 79%, 61%)
CMYKcmyk(48.4%, 79.4%, 0%, 39.2%)
CIE-LABlab(27.03, 48.50, -58.05)
CIE-LCHlch(27.03, 75.64, 309.88°)
OKLaboklab(39.3% 0.0739 -0.1666)
OKLCHoklch(39.3% 0.182 293.9)
XYZxyz(9.7395, 5.1048, 31.4761)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50209B #6B9B20
analogous
#202D9B #50209B #8E209B
triadic
#50209B #9B5020 #209B50
tetradic
#50209B #9B202D #6B9B20 #209B8E
square
#50209B #9B202D #6B9B20 #209B8E
split-complementary
#50209B #9B8E20 #2D9B20
monochromatic
#1C0B36 #361668 #50209B #6A2ACE #8C59DD

Accessibility & contrast

On white

10.39
#50209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#50209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50209B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50209B#FFFFFF#000000##FFFFFF
##50209B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#39435D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #50209b;
/* rgb */ color: rgb(80, 32, 155);
/* oklch */ color: oklch(39.3% 0.182 293.9);
Tailwind
colors: {
  custom: {
    50: '#8962ba',
    500: '#50209b',
    950: '#000000',
  },
}
SCSS
$custom: #50209b;
$custom-light: #8962ba;
$custom-dark: #000000;
JSON
{
  "hex": "#50209b",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 263.415,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.18222,
    "h": 293.9
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#50209B
secondary
#97C156
accent
#E93FA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #50209B

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

Preview Lab → · Contrast checker → · Palette generator →

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