#50319A#50319A

#50319A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.162 H 291.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#50319A
RGBrgb(80, 49, 154)
HSLhsl(258, 52%, 40%)
HSVhsv(258, 68%, 60%)
CMYKcmyk(48.1%, 68.2%, 0%, 39.6%)
CIE-LABlab(30.00, 39.63, -52.59)
CIE-LCHlch(30.00, 65.85, 307.00°)
OKLaboklab(41.38% 0.0586 -0.1506)
OKLCHoklch(41.38% 0.162 291.2)
XYZxyz(10.2377, 6.2348, 31.2296)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50319A #7B9A31
analogous
#31479A #50319A #84319A
triadic
#50319A #9A5031 #319A50
tetradic
#50319A #9A3147 #7B9A31 #319A84
square
#50319A #9A3147 #7B9A31 #319A84
split-complementary
#50319A #9A8431 #479A31
monochromatic
#20133D #38226C #50319A #6A45C4 #8F73D2

Accessibility & contrast

On white

9.35
#50319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#50319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50319A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50319A#FFFFFF#000000##FFFFFF
##50319A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#394B61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50319a;
/* rgb */ color: rgb(80, 49, 154);
/* oklch */ color: oklch(41.4% 0.162 291.2);
Tailwind
colors: {
  custom: {
    50: '#886bb9',
    500: '#50319a',
    950: '#000000',
  },
}
SCSS
$custom: #50319a;
$custom-light: #886bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#50319a",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 257.714,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.16162,
    "h": 291.2
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#50319A
secondary
#A3BA6C
accent
#DB4DB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #50319A

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

Preview Lab → · Contrast checker → · Palette generator →

#50319A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva