#503AB1#503AB1

#503AB1 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.179 H 285.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#503AB1
RGBrgb(80, 58, 177)
HSLhsl(251, 51%, 46%)
HSVhsv(251, 67%, 69%)
CMYKcmyk(54.8%, 67.2%, 0%, 30.6%)
CIE-LABlab(33.78, 41.40, -60.26)
CIE-LCHlch(33.78, 73.11, 304.49°)
OKLaboklab(44.69% 0.0464 -0.1732)
OKLCHoklch(44.69% 0.179 285)
XYZxyz(12.7547, 7.9052, 42.4402)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB1 #9BB13A
analogous
#3A60B1 #503AB1 #8B3AB1
triadic
#503AB1 #B1503A #3AB150
tetradic
#503AB1 #B13A60 #9BB13A #3AB18B
square
#503AB1 #B13A60 #9BB13A #3AB18B
split-complementary
#503AB1 #B18B3A #60B13A
monochromatic
#261C55 #3B2B83 #503AB1 #725ECA #9A8CD9

Accessibility & contrast

On white

8.14
#503AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503AB1
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB1#FFFFFF#000000##FFFFFF
##503AB11.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#255870
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ab1;
/* rgb */ color: rgb(80, 58, 177);
/* oklch */ color: oklch(44.7% 0.179 285.0);
Tailwind
colors: {
  custom: {
    50: '#8b72c9',
    500: '#503ab1',
    950: '#000000',
  },
}
SCSS
$custom: #503ab1;
$custom-light: #8b72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab1",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 251.092,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.17928,
    "h": 285
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#503AB1
secondary
#B8C483
accent
#DA4EC0
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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