#503DA7#503DA7

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

Color values

HEX#503DA7
RGBrgb(80, 61, 167)
HSLhsl(251, 46%, 45%)
HSVhsv(251, 63%, 65%)
CMYKcmyk(52.1%, 63.5%, 0%, 34.5%)
CIE-LABlab(33.63, 36.56, -54.54)
CIE-LCHlch(33.63, 65.66, 303.83°)
OKLaboklab(44.33% 0.0446 -0.1563)
OKLCHoklch(44.33% 0.163 285.9)
XYZxyz(11.9500, 7.8324, 37.4339)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DA7 #94A73D
analogous
#3D5FA7 #503DA7 #853DA7
triadic
#503DA7 #A7503D #3DA750
tetradic
#503DA7 #A73D5F #94A73D #3DA785
square
#503DA7 #A73D5F #94A73D #3DA785
split-complementary
#503DA7 #A7853D #5FA73D
monochromatic
#251C4D #3B2D7A #503DA7 #705DC4 #978AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##503DA7#FFFFFF#000000##FFFFFF
##503DA71.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)
#0052AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#2F576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503da7;
/* rgb */ color: rgb(80, 61, 167);
/* oklch */ color: oklch(44.3% 0.163 285.9);
Tailwind
colors: {
  custom: {
    50: '#8973c2',
    500: '#503da7',
    950: '#000000',
  },
}
SCSS
$custom: #503da7;
$custom-light: #8973c2;
$custom-dark: #000000;
JSON
{
  "hex": "#503da7",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 250.755,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.16258,
    "h": 285.9
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#503DA7
secondary
#B4BF81
accent
#D652BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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