#503CAB#503CAB

#503CAB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.5% C 0.169 H 285.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#503CAB
RGBrgb(80, 60, 171)
HSLhsl(251, 48%, 45%)
HSVhsv(251, 65%, 67%)
CMYKcmyk(53.2%, 64.9%, 0%, 32.9%)
CIE-LABlab(33.73, 38.39, -56.78)
CIE-LCHlch(33.73, 68.54, 304.06°)
OKLaboklab(44.5% 0.0452 -0.163)
OKLCHoklch(44.5% 0.169 285.5)
XYZxyz(12.2726, 7.8768, 39.3939)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CAB #97AB3C
analogous
#3C5FAB #503CAB #883CAB
triadic
#503CAB #AB503C #3CAB50
tetradic
#503CAB #AB3C5F #97AB3C #3CAB88
square
#503CAB #AB3C5F #97AB3C #3CAB88
split-complementary
#503CAB #AB883C #5FAB3C
monochromatic
#261C50 #3B2C7E #503CAB #715EC6 #998BD6

Accessibility & contrast

On white

8.15
#503CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503CAB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CAB#FFFFFF#000000##FFFFFF
##503CAB1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#2B576E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503cab;
/* rgb */ color: rgb(80, 60, 171);
/* oklch */ color: oklch(44.5% 0.169 285.5);
Tailwind
colors: {
  custom: {
    50: '#8973c5',
    500: '#503cab',
    950: '#000000',
  },
}
SCSS
$custom: #503cab;
$custom-light: #8973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#503cab",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 250.811,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.16911,
    "h": 285.5
  },
  "luminance": 0.07877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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