#503AB2#503AB2

#503AB2 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.181 H 284.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#503AB2
RGBrgb(80, 58, 178)
HSLhsl(251, 51%, 46%)
HSVhsv(251, 67%, 70%)
CMYKcmyk(55.1%, 67.4%, 0%, 30.2%)
CIE-LABlab(33.87, 41.70, -60.72)
CIE-LCHlch(33.87, 73.66, 304.48°)
OKLaboklab(44.78% 0.0463 -0.1745)
OKLCHoklch(44.78% 0.181 284.8)
XYZxyz(12.8548, 7.9452, 42.9671)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AB2 #9CB23A
analogous
#3A60B2 #503AB2 #8C3AB2
triadic
#503AB2 #B2503A #3AB250
tetradic
#503AB2 #B23A60 #9CB23A #3AB28C
square
#503AB2 #B23A60 #9CB23A #3AB28C
split-complementary
#503AB2 #B28C3A #60B23A
monochromatic
#271C56 #3B2B84 #503AB2 #725FCB #9B8DDA

Accessibility & contrast

On white

8.11
#503AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#503AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AB2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AB2#FFFFFF#000000##FFFFFF
##503AB21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#245971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503ab2;
/* rgb */ color: rgb(80, 58, 178);
/* oklch */ color: oklch(44.8% 0.181 284.8);
Tailwind
colors: {
  custom: {
    50: '#8b72ca',
    500: '#503ab2',
    950: '#000000',
  },
}
SCSS
$custom: #503ab2;
$custom-light: #8b72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#503ab2",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 251,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.18054,
    "h": 284.8
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#503AB2
secondary
#B8C483
accent
#DA4DC1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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