#503CA4#503CA4

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

Color values

HEX#503CA4
RGBrgb(80, 60, 164)
HSLhsl(252, 46%, 44%)
HSVhsv(252, 63%, 64%)
CMYKcmyk(51.2%, 63.4%, 0%, 35.7%)
CIE-LABlab(33.17, 36.23, -53.48)
CIE-LCHlch(33.17, 64.60, 304.11°)
OKLaboklab(43.92% 0.0459 -0.1532)
OKLCHoklch(43.92% 0.16 286.7)
XYZxyz(11.6230, 7.6170, 35.9725)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA4 #90A43C
analogous
#3C5CA4 #503CA4 #843CA4
triadic
#503CA4 #A4503C #3CA450
tetradic
#503CA4 #A43C5C #90A43C #3CA484
square
#503CA4 #A43C5C #90A43C #3CA484
split-complementary
#503CA4 #A4843C #5CA43C
monochromatic
#241B4A #3A2C77 #503CA4 #6E5AC3 #9687D3

Accessibility & contrast

On white

8.32
#503CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#503CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CA4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CA4#FFFFFF#000000##FFFFFF
##503CA41.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#31556A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503ca4;
/* rgb */ color: rgb(80, 60, 164);
/* oklch */ color: oklch(43.9% 0.160 286.7);
Tailwind
colors: {
  custom: {
    50: '#8873c0',
    500: '#503ca4',
    950: '#000000',
  },
}
SCSS
$custom: #503ca4;
$custom-light: #8873c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca4",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 251.538,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.15996,
    "h": 286.7
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#503CA4
secondary
#B1BD7E
accent
#D652BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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