#503BB9#503BB9

#503BB9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.188 H 283.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#503BB9
RGBrgb(80, 59, 185)
HSLhsl(250, 52%, 48%)
HSVhsv(250, 68%, 73%)
CMYKcmyk(56.8%, 68.1%, 0%, 27.5%)
CIE-LABlab(34.67, 43.28, -63.55)
CIE-LCHlch(34.67, 76.89, 304.25°)
OKLaboklab(45.54% 0.0443 -0.1828)
OKLCHoklch(45.54% 0.188 283.6)
XYZxyz(13.6265, 8.3353, 46.7804)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB9 #A4B93B
analogous
#3B65B9 #503BB9 #8F3BB9
triadic
#503BB9 #B9503B #3BB950
tetradic
#503BB9 #B93B65 #A4B93B #3BB98F
square
#503BB9 #B93B65 #A4B93B #3BB98F
split-complementary
#503BB9 #B98F3B #65B93B
monochromatic
#281D5C #3C2C8B #503BB9 #7564CD #9E92DC

Accessibility & contrast

On white

7.87
#503BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#503BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB9#FFFFFF#000000##FFFFFF
##503BB91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#1A5C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503bb9;
/* rgb */ color: rgb(80, 59, 185);
/* oklch */ color: oklch(45.5% 0.188 283.6);
Tailwind
colors: {
  custom: {
    50: '#8c73cf',
    500: '#503bb9',
    950: '#000000',
  },
}
SCSS
$custom: #503bb9;
$custom-light: #8c73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb9",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 250,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.18812,
    "h": 283.6
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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