#503CB4#503CB4

#503CB4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.181 H 284.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#503CB4
RGBrgb(80, 60, 180)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 67%, 71%)
CMYKcmyk(55.6%, 66.7%, 0%, 29.4%)
CIE-LABlab(34.46, 41.16, -60.94)
CIE-LCHlch(34.46, 73.54, 304.04°)
OKLaboklab(45.26% 0.0442 -0.1752)
OKLCHoklch(45.26% 0.181 284.1)
XYZxyz(13.1598, 8.2317, 44.0666)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB4 #A0B43C
analogous
#3C64B4 #503CB4 #8C3CB4
triadic
#503CB4 #B4503C #3CB450
tetradic
#503CB4 #B43C64 #A0B43C #3CB48C
square
#503CB4 #B43C64 #A0B43C #3CB48C
split-complementary
#503CB4 #B48C3C #64B43C
monochromatic
#271D58 #3C2D86 #503CB4 #7462CB #9D90DA

Accessibility & contrast

On white

7.94
#503CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503CB4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB4#FFFFFF#000000##FFFFFF
##503CB41.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#225A73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503cb4;
/* rgb */ color: rgb(80, 60, 180);
/* oklch */ color: oklch(45.3% 0.181 284.1);
Tailwind
colors: {
  custom: {
    50: '#8b73cb',
    500: '#503cb4',
    950: '#000000',
  },
}
SCSS
$custom: #503cb4;
$custom-light: #8b73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb4",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 250,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.18064,
    "h": 284.1
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#503CB4
secondary
#BBC587
accent
#DA4EC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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