#50329B#50329B

#50329B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.162 H 290.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#50329B
RGBrgb(80, 50, 155)
HSLhsl(257, 51%, 40%)
HSVhsv(257, 68%, 61%)
CMYKcmyk(48.4%, 67.7%, 0%, 39.2%)
CIE-LABlab(30.29, 39.36, -52.73)
CIE-LCHlch(30.29, 65.80, 306.74°)
OKLaboklab(41.61% 0.0574 -0.151)
OKLCHoklch(41.61% 0.162 290.8)
XYZxyz(10.3636, 6.3528, 31.6842)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50329B #7D9B32
analogous
#32489B #50329B #85329B
triadic
#50329B #9B5032 #329B50
tetradic
#50329B #9B3248 #7D9B32 #329B85
square
#50329B #9B3248 #7D9B32 #329B85
split-complementary
#50329B #9B8532 #489B32
monochromatic
#20143E #38236D #50329B #6A47C4 #9075D2

Accessibility & contrast

On white

9.25
#50329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#50329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50329B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50329B#FFFFFF#000000##FFFFFF
##50329B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#384C62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50329b;
/* rgb */ color: rgb(80, 50, 155);
/* oklch */ color: oklch(41.6% 0.162 290.8);
Tailwind
colors: {
  custom: {
    50: '#886cb9',
    500: '#50329b',
    950: '#000000',
  },
}
SCSS
$custom: #50329b;
$custom-light: #886cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#50329b",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 257.143,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.16158,
    "h": 290.8
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#50329B
secondary
#A5BB6E
accent
#DB4DB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #50329B

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

Preview Lab → · Contrast checker → · Palette generator →

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