#503AA5#503AA5

#503AA5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.164 H 287.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#503AA5
RGBrgb(80, 58, 165)
HSLhsl(252, 48%, 44%)
HSVhsv(252, 65%, 65%)
CMYKcmyk(51.5%, 64.8%, 0%, 35.3%)
CIE-LABlab(32.80, 37.73, -54.68)
CIE-LCHlch(32.80, 66.43, 304.60°)
OKLaboklab(43.68% 0.0479 -0.1568)
OKLCHoklch(43.68% 0.164 287)
XYZxyz(11.6109, 7.4476, 36.4158)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AA5 #8FA53A
analogous
#3A59A5 #503AA5 #853AA5
triadic
#503AA5 #A5503A #3AA550
tetradic
#503AA5 #A53A59 #8FA53A #3AA585
square
#503AA5 #A53A59 #8FA53A #3AA585
split-complementary
#503AA5 #A5853A #59A53A
monochromatic
#241A4A #3A2A78 #503AA5 #6E58C4 #9585D4

Accessibility & contrast

On white

8.44
#503AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#503AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AA5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AA5#FFFFFF#000000##FFFFFF
##503AA51.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#31546A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503aa5;
/* rgb */ color: rgb(80, 58, 165);
/* oklch */ color: oklch(43.7% 0.164 287.0);
Tailwind
colors: {
  custom: {
    50: '#8971c1',
    500: '#503aa5',
    950: '#000000',
  },
}
SCSS
$custom: #503aa5;
$custom-light: #8971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#503aa5",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 252.336,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4368,
    "c": 0.16393,
    "h": 287
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#503AA5
secondary
#B1BE7D
accent
#D850BC
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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