#503AA6#503AA6

#503AA6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.165 H 286.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#503AA6
RGBrgb(80, 58, 166)
HSLhsl(252, 48%, 44%)
HSVhsv(252, 65%, 65%)
CMYKcmyk(51.8%, 65.1%, 0%, 34.9%)
CIE-LABlab(32.88, 38.03, -55.15)
CIE-LCHlch(32.88, 66.99, 304.59°)
OKLaboklab(43.76% 0.0478 -0.1582)
OKLCHoklch(43.76% 0.165 286.8)
XYZxyz(11.7022, 7.4842, 36.8970)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AA6 #90A63A
analogous
#3A5AA6 #503AA6 #863AA6
triadic
#503AA6 #A6503A #3AA650
tetradic
#503AA6 #A63A5A #90A63A #3AA686
square
#503AA6 #A63A5A #90A63A #3AA686
split-complementary
#503AA6 #A6863A #5AA63A
monochromatic
#241A4B #3A2A79 #503AA6 #6E58C5 #9686D5

Accessibility & contrast

On white

8.41
#503AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#503AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AA6
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AA6#FFFFFF#000000##FFFFFF
##503AA61.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#30546A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503aa6;
/* rgb */ color: rgb(80, 58, 166);
/* oklch */ color: oklch(43.8% 0.165 286.8);
Tailwind
colors: {
  custom: {
    50: '#8971c1',
    500: '#503aa6',
    950: '#000000',
  },
}
SCSS
$custom: #503aa6;
$custom-light: #8971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#503aa6",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 252.222,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.16521,
    "h": 286.8
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#503AA6
secondary
#B1BF7D
accent
#D850BC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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