#503CA7#503CA7

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

Color values

HEX#503CA7
RGBrgb(80, 60, 167)
HSLhsl(251, 47%, 45%)
HSVhsv(251, 64%, 65%)
CMYKcmyk(52.1%, 64.1%, 0%, 34.5%)
CIE-LABlab(33.41, 37.15, -54.90)
CIE-LCHlch(33.41, 66.29, 304.09°)
OKLaboklab(44.17% 0.0456 -0.1574)
OKLCHoklch(44.17% 0.164 286.2)
XYZxyz(11.8971, 7.7266, 37.4162)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA7 #93A73C
analogous
#3C5EA7 #503CA7 #863CA7
triadic
#503CA7 #A7503C #3CA750
tetradic
#503CA7 #A73C5E #93A73C #3CA786
square
#503CA7 #A73C5E #93A73C #3CA786
split-complementary
#503CA7 #A7863C #5EA73C
monochromatic
#251C4D #3A2C7A #503CA7 #6F5CC4 #9789D5

Accessibility & contrast

On white

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

On black

2.55
#503CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##503CA7#FFFFFF#000000##FFFFFF
##503CA71.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#2F566C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ca7;
/* rgb */ color: rgb(80, 60, 167);
/* oklch */ color: oklch(44.2% 0.164 286.2);
Tailwind
colors: {
  custom: {
    50: '#8973c2',
    500: '#503ca7',
    950: '#000000',
  },
}
SCSS
$custom: #503ca7;
$custom-light: #8973c2;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca7",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 251.215,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44167,
    "c": 0.1639,
    "h": 286.2
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#503CA7
secondary
#B3BF80
accent
#D751BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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