#503AB4#503AB4

#503AB4 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.183 H 284.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#503AB4
RGBrgb(80, 58, 180)
HSLhsl(251, 51%, 47%)
HSVhsv(251, 68%, 71%)
CMYKcmyk(55.6%, 67.8%, 0%, 29.4%)
CIE-LABlab(34.04, 42.31, -61.63)
CIE-LCHlch(34.04, 74.76, 304.47°)
OKLaboklab(44.95% 0.046 -0.1772)
OKLCHoklch(44.95% 0.183 284.5)
XYZxyz(13.0570, 8.0261, 44.0323)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB4 #9EB43A
analogous
#3A61B4 #503AB4 #8D3AB4
triadic
#503AB4 #B4503A #3AB450
tetradic
#503AB4 #B43A61 #9EB43A #3AB48D
square
#503AB4 #B43A61 #9EB43A #3AB48D
split-complementary
#503AB4 #B48D3A #61B43A
monochromatic
#271C57 #3B2B86 #503AB4 #7360CC #9C8EDB

Accessibility & contrast

On white

8.06
#503AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#503AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB4#FFFFFF#000000##FFFFFF
##503AB41.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#225972
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503ab4;
/* rgb */ color: rgb(80, 58, 180);
/* oklch */ color: oklch(45.0% 0.183 284.5);
Tailwind
colors: {
  custom: {
    50: '#8b72cb',
    500: '#503ab4',
    950: '#000000',
  },
}
SCSS
$custom: #503ab4;
$custom-light: #8b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab4",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 250.82,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.18306,
    "h": 284.5
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#503AB4
secondary
#BAC585
accent
#DB4DC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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