#503EA4#503EA4

#503EA4 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.3% C 0.157 H 286.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#503EA4
RGBrgb(80, 62, 164)
HSLhsl(251, 45%, 44%)
HSVhsv(251, 62%, 64%)
CMYKcmyk(51.2%, 62.2%, 0%, 35.7%)
CIE-LABlab(33.63, 35.02, -52.74)
CIE-LCHlch(33.63, 63.31, 303.59°)
OKLaboklab(44.25% 0.0437 -0.1511)
OKLCHoklch(44.25% 0.157 286.1)
XYZxyz(11.7297, 7.8305, 36.0081)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA4 #92A43E
analogous
#3E5FA4 #503EA4 #833EA4
triadic
#503EA4 #A4503E #3EA450
tetradic
#503EA4 #A43E5F #92A43E #3EA483
square
#503EA4 #A43E5F #92A43E #3EA483
split-complementary
#503EA4 #A4833E #5FA43E
monochromatic
#251C4B #3A2D78 #503EA4 #6F5DC2 #978AD3

Accessibility & contrast

On white

8.18
#503EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503EA4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA4#FFFFFF#000000##FFFFFF
##503EA41.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#31566B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ea4;
/* rgb */ color: rgb(80, 62, 164);
/* oklch */ color: oklch(44.3% 0.157 286.1);
Tailwind
colors: {
  custom: {
    50: '#8874c0',
    500: '#503ea4',
    950: '#000000',
  },
}
SCSS
$custom: #503ea4;
$custom-light: #8874c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea4",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 250.588,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.15727,
    "h": 286.1
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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