#503D9B#503D9B

#503D9B is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.4% C 0.147 H 288.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#503D9B
RGBrgb(80, 61, 155)
HSLhsl(252, 44%, 42%)
HSVhsv(252, 61%, 61%)
CMYKcmyk(48.4%, 60.6%, 0%, 39.2%)
CIE-LABlab(32.72, 32.86, -48.78)
CIE-LCHlch(32.72, 58.81, 303.96°)
OKLaboklab(43.38% 0.0453 -0.1394)
OKLCHoklch(43.38% 0.147 288)
XYZxyz(10.8917, 7.4091, 31.8602)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503D9B #889B3D
analogous
#3D599B #503D9B #7F3D9B
triadic
#503D9B #9B503D #3D9B50
tetradic
#503D9B #9B3D59 #889B3D #3D9B7F
square
#503D9B #9B3D59 #889B3D #3D9B7F
split-complementary
#503D9B #9B7F3D #599B3D
monochromatic
#231A43 #392C6F #503D9B #6C58BD #9384CF

Accessibility & contrast

On white

8.46
#503D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#503D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503D9B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503D9B#FFFFFF#000000##FFFFFF
##503D9B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#375366
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503d9b;
/* rgb */ color: rgb(80, 61, 155);
/* oklch */ color: oklch(43.4% 0.147 288.0);
Tailwind
colors: {
  custom: {
    50: '#8773b9',
    500: '#503d9b',
    950: '#000000',
  },
}
SCSS
$custom: #503d9b;
$custom-light: #8773b9;
$custom-dark: #000000;
JSON
{
  "hex": "#503d9b",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 252.128,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.14659,
    "h": 288
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#503D9B
secondary
#ACB97B
accent
#D355BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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