#503CA5#503CA5

#503CA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.0% C 0.161 H 286.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#503CA5
RGBrgb(80, 60, 165)
HSLhsl(251, 47%, 44%)
HSVhsv(251, 64%, 65%)
CMYKcmyk(51.5%, 63.6%, 0%, 35.3%)
CIE-LABlab(33.25, 36.54, -53.96)
CIE-LCHlch(33.25, 65.16, 304.10°)
OKLaboklab(44% 0.0458 -0.1546)
OKLCHoklch(44% 0.161 286.5)
XYZxyz(11.7136, 7.6532, 36.4500)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA5 #91A53C
analogous
#3C5CA5 #503CA5 #853CA5
triadic
#503CA5 #A5503C #3CA550
tetradic
#503CA5 #A53C5C #91A53C #3CA585
square
#503CA5 #A53C5C #91A53C #3CA585
split-complementary
#503CA5 #A5853C #5CA53C
monochromatic
#241B4B #3A2C78 #503CA5 #6F5BC3 #9688D4

Accessibility & contrast

On white

8.30
#503CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#503CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CA5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CA5#FFFFFF#000000##FFFFFF
##503CA51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#30556B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503ca5;
/* rgb */ color: rgb(80, 60, 165);
/* oklch */ color: oklch(44.0% 0.161 286.5);
Tailwind
colors: {
  custom: {
    50: '#8973c0',
    500: '#503ca5',
    950: '#000000',
  },
}
SCSS
$custom: #503ca5;
$custom-light: #8973c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca5",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 251.429,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.16128,
    "h": 286.5
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#503CA5
secondary
#B2BE7F
accent
#D651BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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