#50329C#50329C

#50329C is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.163 H 290.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#50329C
RGBrgb(80, 50, 156)
HSLhsl(257, 51%, 40%)
HSVhsv(257, 68%, 61%)
CMYKcmyk(48.7%, 67.9%, 0%, 38.8%)
CIE-LABlab(30.37, 39.66, -53.21)
CIE-LCHlch(30.37, 66.36, 306.70°)
OKLaboklab(41.69% 0.0572 -0.1524)
OKLCHoklch(41.69% 0.163 290.6)
XYZxyz(10.4479, 6.3866, 32.1283)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50329C #7E9C32
analogous
#32499C #50329C #85329C
triadic
#50329C #9C5032 #329C50
tetradic
#50329C #9C3249 #7E9C32 #329C85
square
#50329C #9C3249 #7E9C32 #329C85
split-complementary
#50329C #9C8532 #499C32
monochromatic
#20143F #38236E #50329C #6A47C4 #9075D3

Accessibility & contrast

On white

9.22
#50329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#50329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50329C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50329C#FFFFFF#000000##FFFFFF
##50329C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#374C63
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50329c;
/* rgb */ color: rgb(80, 50, 156);
/* oklch */ color: oklch(41.7% 0.163 290.6);
Tailwind
colors: {
  custom: {
    50: '#886cba',
    500: '#50329c',
    950: '#000000',
  },
}
SCSS
$custom: #50329c;
$custom-light: #886cba;
$custom-dark: #000000;
JSON
{
  "hex": "#50329c",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 256.981,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.16283,
    "h": 290.6
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#50329C
secondary
#A5BB6F
accent
#DB4DB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #50329C

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

Preview Lab → · Contrast checker → · Palette generator →

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