#503CA6#503CA6

#503CA6 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.1% C 0.163 H 286.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#503CA6
RGBrgb(80, 60, 166)
HSLhsl(251, 47%, 44%)
HSVhsv(251, 64%, 65%)
CMYKcmyk(51.8%, 63.9%, 0%, 34.9%)
CIE-LABlab(33.33, 36.84, -54.43)
CIE-LCHlch(33.33, 65.73, 304.09°)
OKLaboklab(44.09% 0.0457 -0.156)
OKLCHoklch(44.09% 0.163 286.3)
XYZxyz(11.8050, 7.6898, 36.9312)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA6 #92A63C
analogous
#3C5DA6 #503CA6 #853CA6
triadic
#503CA6 #A6503C #3CA650
tetradic
#503CA6 #A63C5D #92A63C #3CA685
square
#503CA6 #A63C5D #92A63C #3CA685
split-complementary
#503CA6 #A6853C #5DA63C
monochromatic
#251C4C #3A2C79 #503CA6 #6F5BC4 #9788D4

Accessibility & contrast

On white

8.27
#503CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#503CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CA6
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CA6#FFFFFF#000000##FFFFFF
##503CA61.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#30566B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503ca6;
/* rgb */ color: rgb(80, 60, 166);
/* oklch */ color: oklch(44.1% 0.163 286.3);
Tailwind
colors: {
  custom: {
    50: '#8973c1',
    500: '#503ca6',
    950: '#000000',
  },
}
SCSS
$custom: #503ca6;
$custom-light: #8973c1;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca6",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 251.321,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.16259,
    "h": 286.3
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#503CA6
secondary
#B3BE7F
accent
#D751BD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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