#50319C#50319C

#50319C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.164 H 290.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#50319C
RGBrgb(80, 49, 156)
HSLhsl(257, 52%, 40%)
HSVhsv(257, 69%, 61%)
CMYKcmyk(48.7%, 68.6%, 0%, 38.8%)
CIE-LABlab(30.16, 40.22, -53.54)
CIE-LCHlch(30.16, 66.96, 306.91°)
OKLaboklab(41.55% 0.0583 -0.1534)
OKLCHoklch(41.55% 0.164 290.8)
XYZxyz(10.4056, 6.3020, 32.1142)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50319C #7D9C31
analogous
#31489C #50319C #85319C
triadic
#50319C #9C5031 #319C50
tetradic
#50319C #9C3148 #7D9C31 #319C85
square
#50319C #9C3148 #7D9C31 #319C85
split-complementary
#50319C #9C8531 #489C31
monochromatic
#20143F #38226D #50319C #6A45C5 #9074D3

Accessibility & contrast

On white

9.29
#50319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#50319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50319C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50319C#FFFFFF#000000##FFFFFF
##50319C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#384C62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #50319c;
/* rgb */ color: rgb(80, 49, 156);
/* oklch */ color: oklch(41.5% 0.164 290.8);
Tailwind
colors: {
  custom: {
    50: '#886bba',
    500: '#50319c',
    950: '#000000',
  },
}
SCSS
$custom: #50319c;
$custom-light: #886bba;
$custom-dark: #000000;
JSON
{
  "hex": "#50319c",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 257.383,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.16411,
    "h": 290.8
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#50319C
secondary
#A5BB6D
accent
#DC4CB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #50319C

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

Preview Lab → · Contrast checker → · Palette generator →

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