#503EA2#503EA2

#503EA2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.1% C 0.155 H 286.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#503EA2
RGBrgb(80, 62, 162)
HSLhsl(251, 45%, 44%)
HSVhsv(251, 62%, 64%)
CMYKcmyk(50.6%, 61.7%, 0%, 36.5%)
CIE-LABlab(33.48, 34.41, -51.79)
CIE-LCHlch(33.48, 62.17, 303.60°)
OKLaboklab(44.1% 0.0439 -0.1483)
OKLCHoklch(44.1% 0.155 286.5)
XYZxyz(11.5506, 7.7588, 35.0644)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA2 #90A23E
analogous
#3E5EA2 #503EA2 #823EA2
triadic
#503EA2 #A2503E #3EA250
tetradic
#503EA2 #A23E5E #90A23E #3EA282
square
#503EA2 #A23E5E #90A23E #3EA282
split-complementary
#503EA2 #A2823E #5EA23E
monochromatic
#241C49 #3A2D76 #503EA2 #6E5CC1 #9689D2

Accessibility & contrast

On white

8.23
#503EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#503EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA2#FFFFFF#000000##FFFFFF
##503EA21.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#32556A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ea2;
/* rgb */ color: rgb(80, 62, 162);
/* oklch */ color: oklch(44.1% 0.155 286.5);
Tailwind
colors: {
  custom: {
    50: '#8874be',
    500: '#503ea2',
    950: '#000000',
  },
}
SCSS
$custom: #503ea2;
$custom-light: #8874be;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea2",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 250.8,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.15461,
    "h": 286.5
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#503EA2
secondary
#B1BC80
accent
#D453BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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