#50239A#50239A

#50239A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.178 H 293.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#50239A
RGBrgb(80, 35, 154)
HSLhsl(263, 63%, 37%)
HSVhsv(263, 77%, 60%)
CMYKcmyk(48.1%, 77.3%, 0%, 39.6%)
CIE-LABlab(27.41, 46.88, -56.82)
CIE-LCHlch(27.41, 73.66, 309.52°)
OKLaboklab(39.54% 0.0718 -0.163)
OKLCHoklch(39.54% 0.178 293.8)
XYZxyz(9.7404, 5.2403, 31.0639)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50239A #6D9A23
analogous
#23329A #50239A #8C239A
triadic
#50239A #9A5023 #239A50
tetradic
#50239A #9A2332 #6D9A23 #239A8C
square
#50239A #9A2332 #6D9A23 #239A8C
split-complementary
#50239A #9A8C23 #329A23
monochromatic
#1C0C36 #361868 #50239A #6A2ECC #8C5DDA

Accessibility & contrast

On white

10.25
#50239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#50239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50239A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50239A#FFFFFF#000000##FFFFFF
##50239A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#3A445D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50239a;
/* rgb */ color: rgb(80, 35, 154);
/* oklch */ color: oklch(39.5% 0.178 293.8);
Tailwind
colors: {
  custom: {
    50: '#8963b9',
    500: '#50239a',
    950: '#000000',
  },
}
SCSS
$custom: #50239a;
$custom-light: #8963b9;
$custom-dark: #000000;
JSON
{
  "hex": "#50239a",
  "rgb": {
    "r": 80,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 262.689,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39538,
    "c": 0.17808,
    "h": 293.8
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#50239A
secondary
#99BF5A
accent
#E642A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #50239A

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

Preview Lab → · Contrast checker → · Palette generator →

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