#503196#503196

#503196 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.157 H 292.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#503196
RGBrgb(80, 49, 150)
HSLhsl(258, 51%, 39%)
HSVhsv(258, 67%, 59%)
CMYKcmyk(46.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(29.67, 38.47, -50.67)
CIE-LCHlch(29.67, 63.62, 307.20°)
OKLaboklab(41.04% 0.0591 -0.145)
OKLCHoklch(41.04% 0.157 292.2)
XYZxyz(9.9101, 6.1038, 29.5042)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503196 #779631
analogous
#314596 #503196 #833196
triadic
#503196 #965031 #319650
tetradic
#503196 #963145 #779631 #319683
square
#503196 #963145 #779631 #319683
split-complementary
#503196 #968331 #459631
monochromatic
#1F133A #372268 #503196 #6A43C1 #8E71D1

Accessibility & contrast

On white

9.46
#503196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#503196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503196
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503196#FFFFFF#000000##FFFFFF
##5031961.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#3B495F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503196;
/* rgb */ color: rgb(80, 49, 150);
/* oklch */ color: oklch(41.0% 0.157 292.2);
Tailwind
colors: {
  custom: {
    50: '#876bb6',
    500: '#503196',
    950: '#000000',
  },
}
SCSS
$custom: #503196;
$custom-light: #876bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#503196",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 258.416,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4104,
    "c": 0.15659,
    "h": 292.2
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#503196
secondary
#A0B86A
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503196

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

Preview Lab → · Contrast checker → · Palette generator →

#503196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva