#503AA4#503AA4

#503AA4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.163 H 287.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#503AA4
RGBrgb(80, 58, 164)
HSLhsl(252, 48%, 44%)
HSVhsv(252, 65%, 64%)
CMYKcmyk(51.2%, 64.6%, 0%, 35.7%)
CIE-LABlab(32.73, 37.42, -54.21)
CIE-LCHlch(32.73, 65.87, 304.62°)
OKLaboklab(43.6% 0.048 -0.1554)
OKLCHoklch(43.6% 0.163 287.2)
XYZxyz(11.5202, 7.4114, 35.9383)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AA4 #8EA43A
analogous
#3A59A4 #503AA4 #853AA4
triadic
#503AA4 #A4503A #3AA450
tetradic
#503AA4 #A43A59 #8EA43A #3AA485
square
#503AA4 #A43A59 #8EA43A #3AA485
split-complementary
#503AA4 #A4853A #59A43A
monochromatic
#241A4A #3A2A77 #503AA4 #6E57C4 #9585D4

Accessibility & contrast

On white

8.46
#503AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#503AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AA4
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AA4#FFFFFF#000000##FFFFFF
##503AA41.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#315469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503aa4;
/* rgb */ color: rgb(80, 58, 164);
/* oklch */ color: oklch(43.6% 0.163 287.2);
Tailwind
colors: {
  custom: {
    50: '#8971c0',
    500: '#503aa4',
    950: '#000000',
  },
}
SCSS
$custom: #503aa4;
$custom-light: #8971c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503aa4",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 252.453,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.16263,
    "h": 287.2
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#503AA4
secondary
#B0BE7C
accent
#D750BB
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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