#503BB5#503BB5

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

Color values

HEX#503BB5
RGBrgb(80, 59, 181)
HSLhsl(250, 51%, 47%)
HSVhsv(250, 67%, 71%)
CMYKcmyk(55.8%, 67.4%, 0%, 29%)
CIE-LABlab(34.33, 42.05, -61.74)
CIE-LCHlch(34.33, 74.70, 304.26°)
OKLaboklab(45.19% 0.0449 -0.1775)
OKLCHoklch(45.19% 0.183 284.2)
XYZxyz(13.2102, 8.1688, 44.5877)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB5 #A0B53B
analogous
#3B63B5 #503BB5 #8D3BB5
triadic
#503BB5 #B5503B #3BB550
tetradic
#503BB5 #B53B63 #A0B53B #3BB58D
square
#503BB5 #B53B63 #A0B53B #3BB58D
split-complementary
#503BB5 #B58D3B #63B53B
monochromatic
#271D59 #3C2C87 #503BB5 #7462CC #9D90DB

Accessibility & contrast

On white

7.97
#503BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#503BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB5#FFFFFF#000000##FFFFFF
##503BB51.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#205A73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503bb5;
/* rgb */ color: rgb(80, 59, 181);
/* oklch */ color: oklch(45.2% 0.183 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b72cc',
    500: '#503bb5',
    950: '#000000',
  },
}
SCSS
$custom: #503bb5;
$custom-light: #8b72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb5",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 250.328,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.18311,
    "h": 284.2
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#503BB5
secondary
#BBC686
accent
#DA4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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