#503AB0#503AB0

#503AB0 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.178 H 285.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#503AB0
RGBrgb(80, 58, 176)
HSLhsl(251, 50%, 46%)
HSVhsv(251, 67%, 69%)
CMYKcmyk(54.5%, 67%, 0%, 31%)
CIE-LABlab(33.70, 41.09, -59.80)
CIE-LCHlch(33.70, 72.56, 304.49°)
OKLaboklab(44.61% 0.0465 -0.1718)
OKLCHoklch(44.61% 0.178 285.2)
XYZxyz(12.6554, 7.8655, 41.9172)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB0 #9AB03A
analogous
#3A5FB0 #503AB0 #8B3AB0
triadic
#503AB0 #B0503A #3AB050
tetradic
#503AB0 #B03A5F #9AB03A #3AB08B
square
#503AB0 #B03A5F #9AB03A #3AB08B
split-complementary
#503AB0 #B08B3A #5FB03A
monochromatic
#261C54 #3B2B82 #503AB0 #725DCA #9A8BD9

Accessibility & contrast

On white

8.16
#503AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#503AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB0
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB0#FFFFFF#000000##FFFFFF
##503AB01.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#275870
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ab0;
/* rgb */ color: rgb(80, 58, 176);
/* oklch */ color: oklch(44.6% 0.178 285.2);
Tailwind
colors: {
  custom: {
    50: '#8a72c9',
    500: '#503ab0',
    950: '#000000',
  },
}
SCSS
$custom: #503ab0;
$custom-light: #8a72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab0",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 251.186,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.17801,
    "h": 285.2
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#503AB0
secondary
#B7C382
accent
#DA4EC0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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