#503ABA#503ABA

#503ABA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.191 H 283.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#503ABA
RGBrgb(80, 58, 186)
HSLhsl(250, 52%, 48%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(57%, 68.8%, 0%, 27.1%)
CIE-LABlab(34.55, 44.15, -64.34)
CIE-LCHlch(34.55, 78.03, 304.46°)
OKLaboklab(45.48% 0.0451 -0.1851)
OKLCHoklch(45.48% 0.191 283.7)
XYZxyz(13.6815, 8.2759, 47.3213)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503ABA #A4BA3A
analogous
#3A64BA #503ABA #903ABA
triadic
#503ABA #BA503A #3ABA50
tetradic
#503ABA #BA3A64 #A4BA3A #3ABA90
square
#503ABA #BA3A64 #A4BA3A #3ABA90
split-complementary
#503ABA #BA903A #64BA3A
monochromatic
#281D5D #3C2B8B #503ABA #7563CE #9E92DD

Accessibility & contrast

On white

7.91
#503ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#503ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503ABA
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503ABA#FFFFFF#000000##FFFFFF
##503ABA1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#195B75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503aba;
/* rgb */ color: rgb(80, 58, 186);
/* oklch */ color: oklch(45.5% 0.191 283.7);
Tailwind
colors: {
  custom: {
    50: '#8c72d0',
    500: '#503aba',
    950: '#000000',
  },
}
SCSS
$custom: #503aba;
$custom-light: #8c72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#503aba",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 250.313,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.19053,
    "h": 283.7
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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