#503AB7#503AB7

#503AB7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.187 H 284.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#503AB7
RGBrgb(80, 58, 183)
HSLhsl(251, 52%, 47%)
HSVhsv(251, 68%, 72%)
CMYKcmyk(56.3%, 68.3%, 0%, 28.2%)
CIE-LABlab(34.29, 43.23, -62.99)
CIE-LCHlch(34.29, 76.40, 304.46°)
OKLaboklab(45.22% 0.0455 -0.1812)
OKLCHoklch(45.22% 0.187 284.1)
XYZxyz(13.3660, 8.1497, 45.6593)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB7 #A1B73A
analogous
#3A63B7 #503AB7 #8F3AB7
triadic
#503AB7 #B7503A #3AB750
tetradic
#503AB7 #B73A63 #A1B73A #3AB78F
square
#503AB7 #B73A63 #A1B73A #3AB78F
split-complementary
#503AB7 #B78F3A #63B73A
monochromatic
#271D5A #3C2B89 #503AB7 #7461CD #9D90DC

Accessibility & contrast

On white

7.98
#503AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#503AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB7#FFFFFF#000000##FFFFFF
##503AB71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#1E5A74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503ab7;
/* rgb */ color: rgb(80, 58, 183);
/* oklch */ color: oklch(45.2% 0.187 284.1);
Tailwind
colors: {
  custom: {
    50: '#8c72ce',
    500: '#503ab7',
    950: '#000000',
  },
}
SCSS
$custom: #503ab7;
$custom-light: #8c72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab7",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 250.56,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45216,
    "c": 0.1868,
    "h": 284.1
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#503AB7
secondary
#BBC786
accent
#DB4CC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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