#503AA8#503AA8

#503AA8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.168 H 286.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#503AA8
RGBrgb(80, 58, 168)
HSLhsl(252, 49%, 44%)
HSVhsv(252, 65%, 66%)
CMYKcmyk(52.4%, 65.5%, 0%, 34.1%)
CIE-LABlab(33.05, 38.64, -56.09)
CIE-LCHlch(33.05, 68.11, 304.56°)
OKLaboklab(43.93% 0.0475 -0.1609)
OKLCHoklch(43.93% 0.168 286.5)
XYZxyz(11.8871, 7.5581, 37.8707)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AA8 #92A83A
analogous
#3A5BA8 #503AA8 #873AA8
triadic
#503AA8 #A8503A #3AA850
tetradic
#503AA8 #A83A5B #92A83A #3AA887
square
#503AA8 #A83A5B #92A83A #3AA887
split-complementary
#503AA8 #A8873A #5BA83A
monochromatic
#251B4D #3A2A7B #503AA8 #6F59C6 #9787D6

Accessibility & contrast

On white

8.36
#503AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#503AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AA8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AA8#FFFFFF#000000##FFFFFF
##503AA81.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#2E556C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503aa8;
/* rgb */ color: rgb(80, 58, 168);
/* oklch */ color: oklch(43.9% 0.168 286.5);
Tailwind
colors: {
  custom: {
    50: '#8971c3',
    500: '#503aa8',
    950: '#000000',
  },
}
SCSS
$custom: #503aa8;
$custom-light: #8971c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503aa8",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 252,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.1678,
    "h": 286.5
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#503AA8
secondary
#B3C07E
accent
#D850BD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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