#503AB9#503AB9

#503AB9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.189 H 283.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#503AB9
RGBrgb(80, 58, 185)
HSLhsl(250, 52%, 48%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(56.8%, 68.6%, 0%, 27.5%)
CIE-LABlab(34.46, 43.84, -63.89)
CIE-LCHlch(34.46, 77.49, 304.46°)
OKLaboklab(45.39% 0.0452 -0.1838)
OKLCHoklch(45.39% 0.189 283.8)
XYZxyz(13.5756, 8.2335, 46.7634)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB9 #A3B93A
analogous
#3A63B9 #503AB9 #903AB9
triadic
#503AB9 #B9503A #3AB950
tetradic
#503AB9 #B93A63 #A3B93A #3AB990
square
#503AB9 #B93A63 #A3B93A #3AB990
split-complementary
#503AB9 #B9903A #63B93A
monochromatic
#281D5C #3C2B8A #503AB9 #7562CE #9E91DC

Accessibility & contrast

On white

7.93
#503AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#503AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB9#FFFFFF#000000##FFFFFF
##503AB91.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#1B5B75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503ab9;
/* rgb */ color: rgb(80, 58, 185);
/* oklch */ color: oklch(45.4% 0.189 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c72cf',
    500: '#503ab9',
    950: '#000000',
  },
}
SCSS
$custom: #503ab9;
$custom-light: #8c72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab9",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 250.394,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.1893,
    "h": 283.8
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#503AB9
secondary
#BCC787
accent
#DC4CC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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