#503CB1#503CB1

#503CB1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.177 H 284.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#503CB1
RGBrgb(80, 60, 177)
HSLhsl(250, 49%, 46%)
HSVhsv(250, 66%, 69%)
CMYKcmyk(54.8%, 66.1%, 0%, 30.6%)
CIE-LABlab(34.21, 40.24, -59.56)
CIE-LCHlch(34.21, 71.88, 304.04°)
OKLaboklab(45% 0.0445 -0.1711)
OKLCHoklch(45% 0.177 284.6)
XYZxyz(12.8575, 8.1108, 42.4745)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB1 #9DB13C
analogous
#3C63B1 #503CB1 #8B3CB1
triadic
#503CB1 #B1503C #3CB150
tetradic
#503CB1 #B13C63 #9DB13C #3CB18B
square
#503CB1 #B13C63 #9DB13C #3CB18B
split-complementary
#503CB1 #B18B3C #63B13C
monochromatic
#271D56 #3B2D83 #503CB1 #7361C9 #9B8FD9

Accessibility & contrast

On white

8.01
#503CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#503CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB1
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB1#FFFFFF#000000##FFFFFF
##503CB11.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#255971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503cb1;
/* rgb */ color: rgb(80, 60, 177);
/* oklch */ color: oklch(45.0% 0.177 284.6);
Tailwind
colors: {
  custom: {
    50: '#8a73c9',
    500: '#503cb1',
    950: '#000000',
  },
}
SCSS
$custom: #503cb1;
$custom-light: #8a73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb1",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 250.256,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.17682,
    "h": 284.6
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#503CB1
secondary
#B9C485
accent
#D94FC1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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