#503BB7#503BB7

#503BB7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.186 H 283.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#503BB7
RGBrgb(80, 59, 183)
HSLhsl(250, 51%, 47%)
HSVhsv(250, 68%, 72%)
CMYKcmyk(56.3%, 67.8%, 0%, 28.2%)
CIE-LABlab(34.50, 42.66, -62.65)
CIE-LCHlch(34.50, 75.79, 304.25°)
OKLaboklab(45.37% 0.0446 -0.1802)
OKLCHoklch(45.37% 0.186 283.9)
XYZxyz(13.4169, 8.2515, 45.6763)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB7 #A2B73B
analogous
#3B64B7 #503BB7 #8E3BB7
triadic
#503BB7 #B7503B #3BB750
tetradic
#503BB7 #B73B64 #A2B73B #3BB78E
square
#503BB7 #B73B64 #A2B73B #3BB78E
split-complementary
#503BB7 #B78E3B #64B73B
monochromatic
#281D5A #3C2C89 #503BB7 #7563CD #9E91DC

Accessibility & contrast

On white

7.92
#503BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#503BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB7#FFFFFF#000000##FFFFFF
##503BB71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#1E5B74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503bb7;
/* rgb */ color: rgb(80, 59, 183);
/* oklch */ color: oklch(45.4% 0.186 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b73ce',
    500: '#503bb7',
    950: '#000000',
  },
}
SCSS
$custom: #503bb7;
$custom-light: #8b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb7",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 250.161,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.18563,
    "h": 283.9
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#503BB7
secondary
#BCC687
accent
#DB4DC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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