#503CAC#503CAC

#503CAC is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.170 H 285.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#503CAC
RGBrgb(80, 60, 172)
HSLhsl(251, 48%, 45%)
HSVhsv(251, 65%, 67%)
CMYKcmyk(53.5%, 65.1%, 0%, 32.5%)
CIE-LABlab(33.81, 38.69, -57.25)
CIE-LCHlch(33.81, 69.10, 304.06°)
OKLaboklab(44.58% 0.0451 -0.1643)
OKLCHoklch(44.58% 0.17 285.4)
XYZxyz(12.3683, 7.9151, 39.8978)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CAC #98AC3C
analogous
#3C60AC #503CAC #883CAC
triadic
#503CAC #AC503C #3CAC50
tetradic
#503CAC #AC3C60 #98AC3C #3CAC88
square
#503CAC #AC3C60 #98AC3C #3CAC88
split-complementary
#503CAC #AC883C #60AC3C
monochromatic
#261C51 #3B2C7F #503CAC #715EC7 #998CD7

Accessibility & contrast

On white

8.13
#503CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#503CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CAC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CAC#FFFFFF#000000##FFFFFF
##503CAC1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#2A586E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503cac;
/* rgb */ color: rgb(80, 60, 172);
/* oklch */ color: oklch(44.6% 0.170 285.4);
Tailwind
colors: {
  custom: {
    50: '#8a73c6',
    500: '#503cac',
    950: '#000000',
  },
}
SCSS
$custom: #503cac;
$custom-light: #8a73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#503cac",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 250.714,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44581,
    "c": 0.1704,
    "h": 285.4
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#503CAC
secondary
#B6C182
accent
#D850C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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