#503AB5#503AB5

#503AB5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.184 H 284.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#503AB5
RGBrgb(80, 58, 181)
HSLhsl(251, 51%, 47%)
HSVhsv(251, 68%, 71%)
CMYKcmyk(55.8%, 68%, 0%, 29%)
CIE-LABlab(34.12, 42.62, -62.08)
CIE-LCHlch(34.12, 75.30, 304.47°)
OKLaboklab(45.04% 0.0458 -0.1785)
OKLCHoklch(45.04% 0.184 284.4)
XYZxyz(13.1593, 8.0670, 44.5708)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB5 #9FB53A
analogous
#3A62B5 #503AB5 #8E3AB5
triadic
#503AB5 #B5503A #3AB550
tetradic
#503AB5 #B53A62 #9FB53A #3AB58E
square
#503AB5 #B53A62 #9FB53A #3AB58E
split-complementary
#503AB5 #B58E3A #62B53A
monochromatic
#271C58 #3C2B87 #503AB5 #7360CC #9C8EDB

Accessibility & contrast

On white

8.03
#503AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#503AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB5#FFFFFF#000000##FFFFFF
##503AB51.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#215A73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503ab5;
/* rgb */ color: rgb(80, 58, 181);
/* oklch */ color: oklch(45.0% 0.184 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b72cc',
    500: '#503ab5',
    950: '#000000',
  },
}
SCSS
$custom: #503ab5;
$custom-light: #8b72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab5",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 250.732,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.18431,
    "h": 284.4
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#503AB5
secondary
#BAC685
accent
#DB4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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