#503FA4#503FA4

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

Color values

HEX#503FA4
RGBrgb(80, 63, 164)
HSLhsl(250, 44%, 45%)
HSVhsv(250, 62%, 64%)
CMYKcmyk(51.2%, 61.6%, 0%, 35.7%)
CIE-LABlab(33.86, 34.42, -52.37)
CIE-LCHlch(33.86, 62.67, 303.31°)
OKLaboklab(44.42% 0.0427 -0.15)
OKLCHoklch(44.42% 0.156 285.9)
XYZxyz(11.7846, 7.9402, 36.0264)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA4 #93A43F
analogous
#3F61A4 #503FA4 #833FA4
triadic
#503FA4 #A4503F #3FA450
tetradic
#503FA4 #A43F61 #93A43F #3FA483
square
#503FA4 #A43F61 #93A43F #3FA483
split-complementary
#503FA4 #A4833F #61A43F
monochromatic
#251D4C #3A2E78 #503FA4 #6F5FC1 #978BD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##503FA4#FFFFFF#000000##FFFFFF
##503FA41.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)
#0052A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#31576B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503fa4;
/* rgb */ color: rgb(80, 63, 164);
/* oklch */ color: oklch(44.4% 0.156 285.9);
Tailwind
colors: {
  custom: {
    50: '#8875c0',
    500: '#503fa4',
    950: '#000000',
  },
}
SCSS
$custom: #503fa4;
$custom-light: #8875c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa4",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 250.099,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44423,
    "c": 0.15592,
    "h": 285.9
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#503FA4
secondary
#B3BD82
accent
#D454BF
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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