#503AB8#503AB8

#503AB8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.188 H 284.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#503AB8
RGBrgb(80, 58, 184)
HSLhsl(250, 52%, 47%)
HSVhsv(250, 68%, 72%)
CMYKcmyk(56.5%, 68.5%, 0%, 27.8%)
CIE-LABlab(34.38, 43.54, -63.44)
CIE-LCHlch(34.38, 76.94, 304.46°)
OKLaboklab(45.3% 0.0454 -0.1825)
OKLCHoklch(45.3% 0.188 284)
XYZxyz(13.4704, 8.1915, 46.2094)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB8 #A2B83A
analogous
#3A63B8 #503AB8 #8F3AB8
triadic
#503AB8 #B8503A #3AB850
tetradic
#503AB8 #B83A63 #A2B83A #3AB88F
square
#503AB8 #B83A63 #A2B83A #3AB88F
split-complementary
#503AB8 #B88F3A #63B83A
monochromatic
#281D5B #3C2B89 #503AB8 #7562CD #9E90DC

Accessibility & contrast

On white

7.96
#503AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#503AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB8#FFFFFF#000000##FFFFFF
##503AB81.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#1C5B74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503ab8;
/* rgb */ color: rgb(80, 58, 184);
/* oklch */ color: oklch(45.3% 0.188 284.0);
Tailwind
colors: {
  custom: {
    50: '#8c72ce',
    500: '#503ab8',
    950: '#000000',
  },
}
SCSS
$custom: #503ab8;
$custom-light: #8c72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab8",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 250.476,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.18806,
    "h": 284
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#503AB8
secondary
#BCC787
accent
#DC4CC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503AB8

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

Preview Lab → · Contrast checker → · Palette generator →

#503AB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva