#50328C#50328C

#50328C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.142 H 294.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#50328C
RGBrgb(80, 50, 140)
HSLhsl(260, 47%, 37%)
HSVhsv(260, 64%, 55%)
CMYKcmyk(42.9%, 64.3%, 0%, 45.1%)
CIE-LABlab(29.11, 34.99, -45.44)
CIE-LCHlch(29.11, 57.35, 307.60°)
OKLaboklab(40.39% 0.0591 -0.1296)
OKLCHoklch(40.39% 0.142 294.5)
XYZxyz(9.1812, 5.8799, 25.4571)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50328C #6E8C32
analogous
#32418C #50328C #7D328C
triadic
#50328C #8C5032 #328C50
tetradic
#50328C #8C3241 #6E8C32 #328C7D
square
#50328C #8C3241 #6E8C32 #328C7D
split-complementary
#50328C #8C7D32 #418C32
monochromatic
#1C1232 #36225F #50328C #6A42B9 #8D6DCB

Accessibility & contrast

On white

9.65
#50328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#50328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50328C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50328C#FFFFFF#000000##FFFFFF
##50328C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#40465A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #50328c;
/* rgb */ color: rgb(80, 50, 140);
/* oklch */ color: oklch(40.4% 0.142 294.5);
Tailwind
colors: {
  custom: {
    50: '#866bae',
    500: '#50328c',
    950: '#000000',
  },
}
SCSS
$custom: #50328c;
$custom-light: #866bae;
$custom-dark: #000000;
JSON
{
  "hex": "#50328c",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 260,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.14243,
    "h": 294.5
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#50328C
secondary
#9AB367
accent
#D751AA
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #50328C

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

Preview Lab → · Contrast checker → · Palette generator →

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