#50329A#50329A

#50329A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.160 H 291.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#50329A
RGBrgb(80, 50, 154)
HSLhsl(257, 51%, 40%)
HSVhsv(257, 68%, 60%)
CMYKcmyk(48.1%, 67.5%, 0%, 39.6%)
CIE-LABlab(30.20, 39.07, -52.25)
CIE-LCHlch(30.20, 65.24, 306.78°)
OKLaboklab(41.52% 0.0575 -0.1496)
OKLCHoklch(41.52% 0.16 291)
XYZxyz(10.2800, 6.3194, 31.2437)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50329A #7C9A32
analogous
#32489A #50329A #84329A
triadic
#50329A #9A5032 #329A50
tetradic
#50329A #9A3248 #7C9A32 #329A84
square
#50329A #9A3248 #7C9A32 #329A84
split-complementary
#50329A #9A8432 #489A32
monochromatic
#20143E #38236C #50329A #6A46C3 #8F74D2

Accessibility & contrast

On white

9.28
#50329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#50329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50329A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50329A#FFFFFF#000000##FFFFFF
##50329A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#394B61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50329a;
/* rgb */ color: rgb(80, 50, 154);
/* oklch */ color: oklch(41.5% 0.160 291.0);
Tailwind
colors: {
  custom: {
    50: '#886cb9',
    500: '#50329a',
    950: '#000000',
  },
}
SCSS
$custom: #50329a;
$custom-light: #886cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#50329a",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 257.308,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.16032,
    "h": 291
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#50329A
secondary
#A4BA6E
accent
#DA4DB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #50329A

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

Preview Lab → · Contrast checker → · Palette generator →

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