#503FA3#503FA3

#503FA3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.3% C 0.155 H 286.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#503FA3
RGBrgb(80, 63, 163)
HSLhsl(250, 44%, 44%)
HSVhsv(250, 61%, 64%)
CMYKcmyk(50.9%, 61.3%, 0%, 36.1%)
CIE-LABlab(33.78, 34.11, -51.89)
CIE-LCHlch(33.78, 62.09, 303.32°)
OKLaboklab(44.34% 0.0427 -0.1486)
OKLCHoklch(44.34% 0.155 286)
XYZxyz(11.6947, 7.9043, 35.5527)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA3 #92A33F
analogous
#3F60A3 #503FA3 #823FA3
triadic
#503FA3 #A3503F #3FA350
tetradic
#503FA3 #A33F60 #92A33F #3FA382
square
#503FA3 #A33F60 #92A33F #3FA382
split-complementary
#503FA3 #A3823F #60A33F
monochromatic
#251D4B #3A2E77 #503FA3 #6F5EC1 #978AD2

Accessibility & contrast

On white

8.14
#503FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#503FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA3
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA3#FFFFFF#000000##FFFFFF
##503FA31.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#32566B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503fa3;
/* rgb */ color: rgb(80, 63, 163);
/* oklch */ color: oklch(44.3% 0.155 286.0);
Tailwind
colors: {
  custom: {
    50: '#8875bf',
    500: '#503fa3',
    950: '#000000',
  },
}
SCSS
$custom: #503fa3;
$custom-light: #8875bf;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa3",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 250.2,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44344,
    "c": 0.15457,
    "h": 286
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#503FA3
secondary
#B3BD81
accent
#D454BE
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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