#50328F#50328F

#50328F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.146 H 293.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#50328F
RGBrgb(80, 50, 143)
HSLhsl(259, 48%, 38%)
HSVhsv(259, 65%, 56%)
CMYKcmyk(44.1%, 65%, 0%, 43.9%)
CIE-LABlab(29.34, 35.86, -46.92)
CIE-LCHlch(29.34, 59.05, 307.39°)
OKLaboklab(40.62% 0.0588 -0.134)
OKLCHoklch(40.62% 0.146 293.7)
XYZxyz(9.4055, 5.9696, 26.6380)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50328F #718F32
analogous
#32428F #50328F #7F328F
triadic
#50328F #8F5032 #328F50
tetradic
#50328F #8F3242 #718F32 #328F7F
square
#50328F #8F3242 #718F32 #328F7F
split-complementary
#50328F #8F7F32 #428F32
monochromatic
#1D1234 #372262 #50328F #6942BC #8D6FCD

Accessibility & contrast

On white

9.57
#50328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#50328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50328F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50328F#FFFFFF#000000##FFFFFF
##50328F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#3F485C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #50328f;
/* rgb */ color: rgb(80, 50, 143);
/* oklch */ color: oklch(40.6% 0.146 293.7);
Tailwind
colors: {
  custom: {
    50: '#866cb0',
    500: '#50328f',
    950: '#000000',
  },
}
SCSS
$custom: #50328f;
$custom-light: #866cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#50328f",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 259.355,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.14631,
    "h": 293.7
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#50328F
secondary
#9CB468
accent
#D850AC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #50328F

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

Preview Lab → · Contrast checker → · Palette generator →

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