#503EA6#503EA6

#503EA6 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.160 H 285.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#503EA6
RGBrgb(80, 62, 166)
HSLhsl(250, 46%, 45%)
HSVhsv(250, 63%, 65%)
CMYKcmyk(51.8%, 62.7%, 0%, 34.9%)
CIE-LABlab(33.78, 35.64, -53.69)
CIE-LCHlch(33.78, 64.45, 303.58°)
OKLaboklab(44.42% 0.0436 -0.1539)
OKLCHoklch(44.42% 0.16 285.8)
XYZxyz(11.9118, 7.9033, 36.9668)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA6 #94A63E
analogous
#3E60A6 #503EA6 #843EA6
triadic
#503EA6 #A6503E #3EA650
tetradic
#503EA6 #A63E60 #94A63E #3EA684
square
#503EA6 #A63E60 #94A63E #3EA684
split-complementary
#503EA6 #A6843E #60A63E
monochromatic
#251D4D #3B2D79 #503EA6 #705EC3 #978BD4

Accessibility & contrast

On white

8.14
#503EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#503EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA6
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA6#FFFFFF#000000##FFFFFF
##503EA61.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#2F576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ea6;
/* rgb */ color: rgb(80, 62, 166);
/* oklch */ color: oklch(44.4% 0.160 285.8);
Tailwind
colors: {
  custom: {
    50: '#8974c1',
    500: '#503ea6',
    950: '#000000',
  },
}
SCSS
$custom: #503ea6;
$custom-light: #8974c1;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea6",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 250.385,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44415,
    "c": 0.15993,
    "h": 285.8
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#503EA6
secondary
#B4BE82
accent
#D553BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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