#503FA5#503FA5

#503FA5 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.5% C 0.157 H 285.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#503FA5
RGBrgb(80, 63, 165)
HSLhsl(250, 45%, 45%)
HSVhsv(250, 62%, 65%)
CMYKcmyk(51.5%, 61.8%, 0%, 35.3%)
CIE-LABlab(33.93, 34.73, -52.85)
CIE-LCHlch(33.93, 63.24, 303.31°)
OKLaboklab(44.5% 0.0426 -0.1514)
OKLCHoklch(44.5% 0.157 285.7)
XYZxyz(11.8753, 7.9765, 36.5039)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA5 #94A53F
analogous
#3F61A5 #503FA5 #833FA5
triadic
#503FA5 #A5503F #3FA550
tetradic
#503FA5 #A53F61 #94A53F #3FA583
square
#503FA5 #A53F61 #94A53F #3FA583
split-complementary
#503FA5 #A5833F #61A53F
monochromatic
#251D4C #3B2E79 #503FA5 #705FC2 #978CD3

Accessibility & contrast

On white

8.09
#503FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#503FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA5#FFFFFF#000000##FFFFFF
##503FA51.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#30576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503fa5;
/* rgb */ color: rgb(80, 63, 165);
/* oklch */ color: oklch(44.5% 0.157 285.7);
Tailwind
colors: {
  custom: {
    50: '#8875c0',
    500: '#503fa5',
    950: '#000000',
  },
}
SCSS
$custom: #503fa5;
$custom-light: #8875c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa5",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 250,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.15725,
    "h": 285.7
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#503FA5
secondary
#B4BE82
accent
#D453BF
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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