#503EA3#503EA3

#503EA3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.156 H 286.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#503EA3
RGBrgb(80, 62, 163)
HSLhsl(251, 45%, 44%)
HSVhsv(251, 62%, 64%)
CMYKcmyk(50.9%, 62%, 0%, 36.1%)
CIE-LABlab(33.55, 34.71, -52.26)
CIE-LCHlch(33.55, 62.74, 303.59°)
OKLaboklab(44.18% 0.0438 -0.1497)
OKLCHoklch(44.18% 0.156 286.3)
XYZxyz(11.6398, 7.7945, 35.5344)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA3 #91A33E
analogous
#3E5FA3 #503EA3 #833EA3
triadic
#503EA3 #A3503E #3EA350
tetradic
#503EA3 #A33E5F #91A33E #3EA383
square
#503EA3 #A33E5F #91A33E #3EA383
split-complementary
#503EA3 #A3833E #5FA33E
monochromatic
#241C4A #3A2D77 #503EA3 #6F5DC1 #9689D2

Accessibility & contrast

On white

8.21
#503EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#503EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA3#FFFFFF#000000##FFFFFF
##503EA31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503ea3;
/* rgb */ color: rgb(80, 62, 163);
/* oklch */ color: oklch(44.2% 0.156 286.3);
Tailwind
colors: {
  custom: {
    50: '#8874bf',
    500: '#503ea3',
    950: '#000000',
  },
}
SCSS
$custom: #503ea3;
$custom-light: #8874bf;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea3",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 250.693,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.15594,
    "h": 286.3
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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