#50328D#50328D

#50328D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.144 H 294.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#50328D
RGBrgb(80, 50, 141)
HSLhsl(260, 48%, 37%)
HSVhsv(260, 65%, 55%)
CMYKcmyk(43.3%, 64.5%, 0%, 44.7%)
CIE-LABlab(29.18, 35.28, -45.93)
CIE-LCHlch(29.18, 57.92, 307.52°)
OKLaboklab(40.47% 0.059 -0.1311)
OKLCHoklch(40.47% 0.144 294.2)
XYZxyz(9.2553, 5.9095, 25.8472)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50328D #6F8D32
analogous
#32428D #50328D #7D328D
triadic
#50328D #8D5032 #328D50
tetradic
#50328D #8D3242 #6F8D32 #328D7D
square
#50328D #8D3242 #6F8D32 #328D7D
split-complementary
#50328D #8D7D32 #428D32
monochromatic
#1D1233 #362260 #50328D #6A42BA #8D6ECC

Accessibility & contrast

On white

9.62
#50328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50328D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50328D#FFFFFF#000000##FFFFFF
##50328D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#40475A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #50328d;
/* rgb */ color: rgb(80, 50, 141);
/* oklch */ color: oklch(40.5% 0.144 294.2);
Tailwind
colors: {
  custom: {
    50: '#866baf',
    500: '#50328d',
    950: '#000000',
  },
}
SCSS
$custom: #50328d;
$custom-light: #866baf;
$custom-dark: #000000;
JSON
{
  "hex": "#50328d",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 259.78,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.14372,
    "h": 294.2
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#50328D
secondary
#9AB368
accent
#D751AB
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #50328D

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

Preview Lab → · Contrast checker → · Palette generator →

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