#503AB3#503AB3

#503AB3 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.182 H 284.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#503AB3
RGBrgb(80, 58, 179)
HSLhsl(251, 51%, 46%)
HSVhsv(251, 68%, 70%)
CMYKcmyk(55.3%, 67.6%, 0%, 29.8%)
CIE-LABlab(33.95, 42.01, -61.17)
CIE-LCHlch(33.95, 74.21, 304.48°)
OKLaboklab(44.87% 0.0461 -0.1758)
OKLCHoklch(44.87% 0.182 284.7)
XYZxyz(12.9555, 7.9855, 43.4978)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB3 #9DB33A
analogous
#3A61B3 #503AB3 #8D3AB3
triadic
#503AB3 #B3503A #3AB350
tetradic
#503AB3 #B33A61 #9DB33A #3AB38D
square
#503AB3 #B33A61 #9DB33A #3AB38D
split-complementary
#503AB3 #B38D3A #61B33A
monochromatic
#271C57 #3B2B85 #503AB3 #735FCB #9B8DDA

Accessibility & contrast

On white

8.09
#503AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#503AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB3#FFFFFF#000000##FFFFFF
##503AB31.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#235971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503ab3;
/* rgb */ color: rgb(80, 58, 179);
/* oklch */ color: oklch(44.9% 0.182 284.7);
Tailwind
colors: {
  custom: {
    50: '#8b72cb',
    500: '#503ab3',
    950: '#000000',
  },
}
SCSS
$custom: #503ab3;
$custom-light: #8b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab3",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 250.909,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44867,
    "c": 0.1818,
    "h": 284.7
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#503AB3
secondary
#B9C584
accent
#DB4DC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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