#503CB3#503CB3

#503CB3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.179 H 284.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#503CB3
RGBrgb(80, 60, 179)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 66%, 70%)
CMYKcmyk(55.3%, 66.5%, 0%, 29.8%)
CIE-LABlab(34.38, 40.85, -60.48)
CIE-LCHlch(34.38, 72.98, 304.04°)
OKLaboklab(45.17% 0.0443 -0.1738)
OKLCHoklch(45.17% 0.179 284.3)
XYZxyz(13.0583, 8.1911, 43.5320)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB3 #9FB33C
analogous
#3C64B3 #503CB3 #8C3CB3
triadic
#503CB3 #B3503C #3CB350
tetradic
#503CB3 #B33C64 #9FB33C #3CB38C
square
#503CB3 #B33C64 #9FB33C #3CB38C
split-complementary
#503CB3 #B38C3C #64B33C
monochromatic
#271D57 #3C2D85 #503CB3 #7362CA #9C90DA

Accessibility & contrast

On white

7.96
#503CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#503CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB3#FFFFFF#000000##FFFFFF
##503CB31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#235A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503cb3;
/* rgb */ color: rgb(80, 60, 179);
/* oklch */ color: oklch(45.2% 0.179 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b73cb',
    500: '#503cb3',
    950: '#000000',
  },
}
SCSS
$custom: #503cb3;
$custom-light: #8b73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb3",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 250.084,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.17936,
    "h": 284.3
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#503CB3
secondary
#BAC586
accent
#D94EC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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