#503EA5#503EA5

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

Color values

HEX#503EA5
RGBrgb(80, 62, 165)
HSLhsl(250, 45%, 45%)
HSVhsv(250, 62%, 65%)
CMYKcmyk(51.5%, 62.4%, 0%, 35.3%)
CIE-LABlab(33.70, 35.34, -53.22)
CIE-LCHlch(33.70, 63.88, 303.58°)
OKLaboklab(44.33% 0.0437 -0.1525)
OKLCHoklch(44.33% 0.159 286)
XYZxyz(11.8204, 7.8667, 36.4856)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA5 #93A53E
analogous
#3E60A5 #503EA5 #833EA5
triadic
#503EA5 #A5503E #3EA550
tetradic
#503EA5 #A53E60 #93A53E #3EA583
square
#503EA5 #A53E60 #93A53E #3EA583
split-complementary
#503EA5 #A5833E #60A53E
monochromatic
#251D4C #3A2D79 #503EA5 #6F5EC2 #978AD3

Accessibility & contrast

On white

8.16
#503EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#503EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA5#FFFFFF#000000##FFFFFF
##503EA51.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#30566B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ea5;
/* rgb */ color: rgb(80, 62, 165);
/* oklch */ color: oklch(44.3% 0.159 286.0);
Tailwind
colors: {
  custom: {
    50: '#8874c0',
    500: '#503ea5',
    950: '#000000',
  },
}
SCSS
$custom: #503ea5;
$custom-light: #8874c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea5",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 250.485,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.15861,
    "h": 286
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#503EA5
secondary
#B3BE81
accent
#D553BE
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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