#503AA9#503AA9

#503AA9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.0% C 0.169 H 286.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#503AA9
RGBrgb(80, 58, 169)
HSLhsl(252, 49%, 45%)
HSVhsv(252, 66%, 66%)
CMYKcmyk(52.7%, 65.7%, 0%, 33.7%)
CIE-LABlab(33.13, 38.95, -56.56)
CIE-LCHlch(33.13, 68.67, 304.55°)
OKLaboklab(44.01% 0.0474 -0.1623)
OKLCHoklch(44.01% 0.169 286.3)
XYZxyz(11.9806, 7.5955, 38.3632)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AA9 #93A93A
analogous
#3A5CA9 #503AA9 #883AA9
triadic
#503AA9 #A9503A #3AA950
tetradic
#503AA9 #A93A5C #93A93A #3AA988
square
#503AA9 #A93A5C #93A93A #3AA988
split-complementary
#503AA9 #A9883A #5CA93A
monochromatic
#251B4E #3A2A7B #503AA9 #6F5AC6 #9787D6

Accessibility & contrast

On white

8.34
#503AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#503AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AA9
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AA9#FFFFFF#000000##FFFFFF
##503AA91.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#2D556C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503aa9;
/* rgb */ color: rgb(80, 58, 169);
/* oklch */ color: oklch(44.0% 0.169 286.3);
Tailwind
colors: {
  custom: {
    50: '#8971c3',
    500: '#503aa9',
    950: '#000000',
  },
}
SCSS
$custom: #503aa9;
$custom-light: #8971c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503aa9",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 251.892,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44013,
    "c": 0.16909,
    "h": 286.3
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#503AA9
secondary
#B3C07F
accent
#D84FBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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