#503AA3#503AA3

#503AA3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.5% C 0.161 H 287.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#503AA3
RGBrgb(80, 58, 163)
HSLhsl(253, 48%, 43%)
HSVhsv(253, 64%, 64%)
CMYKcmyk(50.9%, 64.4%, 0%, 36.1%)
CIE-LABlab(32.65, 37.11, -53.73)
CIE-LCHlch(32.65, 65.31, 304.63°)
OKLaboklab(43.52% 0.0481 -0.154)
OKLCHoklch(43.52% 0.161 287.3)
XYZxyz(11.4302, 7.3754, 35.4645)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AA3 #8DA33A
analogous
#3A59A3 #503AA3 #843AA3
triadic
#503AA3 #A3503A #3AA350
tetradic
#503AA3 #A33A59 #8DA33A #3AA384
square
#503AA3 #A33A59 #8DA33A #3AA384
split-complementary
#503AA3 #A3843A #59A33A
monochromatic
#241A49 #3A2A76 #503AA3 #6E57C3 #9584D3

Accessibility & contrast

On white

8.48
#503AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#503AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AA3
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AA3#FFFFFF#000000##FFFFFF
##503AA31.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#325369
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503aa3;
/* rgb */ color: rgb(80, 58, 163);
/* oklch */ color: oklch(43.5% 0.161 287.3);
Tailwind
colors: {
  custom: {
    50: '#8871bf',
    500: '#503aa3',
    950: '#000000',
  },
}
SCSS
$custom: #503aa3;
$custom-light: #8871bf;
$custom-dark: #000000;
JSON
{
  "hex": "#503aa3",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 252.571,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.16133,
    "h": 287.3
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#503AA3
secondary
#AFBD7C
accent
#D751BB
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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