#503FA1#503FA1

#503FA1 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.152 H 286.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#503FA1
RGBrgb(80, 63, 161)
HSLhsl(250, 44%, 44%)
HSVhsv(250, 61%, 63%)
CMYKcmyk(50.3%, 60.9%, 0%, 36.9%)
CIE-LABlab(33.63, 33.48, -50.93)
CIE-LCHlch(33.63, 60.95, 303.33°)
OKLaboklab(44.19% 0.0428 -0.1457)
OKLCHoklch(44.19% 0.152 286.4)
XYZxyz(11.5169, 7.8332, 34.6164)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA1 #90A13F
analogous
#3F5FA1 #503FA1 #813FA1
triadic
#503FA1 #A1503F #3FA150
tetradic
#503FA1 #A13F5F #90A13F #3FA181
square
#503FA1 #A13F5F #90A13F #3FA181
split-complementary
#503FA1 #A1813F #5FA13F
monochromatic
#241D49 #3A2E75 #503FA1 #6E5DC0 #9689D1

Accessibility & contrast

On white

8.18
#503FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#503FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA1
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA1#FFFFFF#000000##FFFFFF
##503FA11.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#33566A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503fa1;
/* rgb */ color: rgb(80, 63, 161);
/* oklch */ color: oklch(44.2% 0.152 286.4);
Tailwind
colors: {
  custom: {
    50: '#8875bd',
    500: '#503fa1',
    950: '#000000',
  },
}
SCSS
$custom: #503fa1;
$custom-light: #8875bd;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa1",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 250.408,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.15188,
    "h": 286.4
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#503FA1
secondary
#B1BC80
accent
#D354BD
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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