#503EA1#503EA1

#503EA1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.0% C 0.153 H 286.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#503EA1
RGBrgb(80, 62, 161)
HSLhsl(251, 44%, 44%)
HSVhsv(251, 61%, 63%)
CMYKcmyk(50.3%, 61.5%, 0%, 36.9%)
CIE-LABlab(33.40, 34.10, -51.30)
CIE-LCHlch(33.40, 61.60, 303.61°)
OKLaboklab(44.02% 0.0439 -0.1468)
OKLCHoklch(44.02% 0.153 286.6)
XYZxyz(11.4620, 7.7234, 34.5981)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA1 #8FA13E
analogous
#3E5DA1 #503EA1 #813EA1
triadic
#503EA1 #A1503E #3EA150
tetradic
#503EA1 #A13E5D #8FA13E #3EA181
square
#503EA1 #A13E5D #8FA13E #3EA181
split-complementary
#503EA1 #A1813E #5DA13E
monochromatic
#241C49 #3A2D75 #503EA1 #6E5CC0 #9588D1

Accessibility & contrast

On white

8.25
#503EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#503EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA1
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA1#FFFFFF#000000##FFFFFF
##503EA11.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#335569
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ea1;
/* rgb */ color: rgb(80, 62, 161);
/* oklch */ color: oklch(44.0% 0.153 286.6);
Tailwind
colors: {
  custom: {
    50: '#8874be',
    500: '#503ea1',
    950: '#000000',
  },
}
SCSS
$custom: #503ea1;
$custom-light: #8874be;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea1",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 250.909,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.15327,
    "h": 286.6
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#503EA1
secondary
#B1BC7F
accent
#D454BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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