#50328B#50328B

#50328B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.141 H 294.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#50328B
RGBrgb(80, 50, 139)
HSLhsl(260, 47%, 37%)
HSVhsv(260, 64%, 55%)
CMYKcmyk(42.4%, 64%, 0%, 45.5%)
CIE-LABlab(29.03, 34.70, -44.94)
CIE-LCHlch(29.03, 56.78, 307.67°)
OKLaboklab(40.31% 0.0592 -0.1281)
OKLCHoklch(40.31% 0.141 294.8)
XYZxyz(9.1078, 5.8505, 25.0705)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50328B #6D8B32
analogous
#32408B #50328B #7D328B
triadic
#50328B #8B5032 #328B50
tetradic
#50328B #8B3240 #6D8B32 #328B7D
square
#50328B #8B3240 #6D8B32 #328B7D
split-complementary
#50328B #8B7D32 #408B32
monochromatic
#1C1231 #36225E #50328B #6A42B8 #8C6DCA

Accessibility & contrast

On white

9.68
#50328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#50328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50328B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50328B#FFFFFF#000000##FFFFFF
##50328B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#414659
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #50328b;
/* rgb */ color: rgb(80, 50, 139);
/* oklch */ color: oklch(40.3% 0.141 294.8);
Tailwind
colors: {
  custom: {
    50: '#866bad',
    500: '#50328b',
    950: '#000000',
  },
}
SCSS
$custom: #50328b;
$custom-light: #866bad;
$custom-dark: #000000;
JSON
{
  "hex": "#50328b",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 260.225,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.14113,
    "h": 294.8
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#50328B
secondary
#99B267
accent
#D751AA
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #50328B

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

Preview Lab → · Contrast checker → · Palette generator →

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