#503BA3#503BA3

#503BA3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.160 H 287.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#503BA3
RGBrgb(80, 59, 163)
HSLhsl(252, 47%, 44%)
HSVhsv(252, 64%, 64%)
CMYKcmyk(50.9%, 63.8%, 0%, 36.1%)
CIE-LABlab(32.87, 36.52, -53.37)
CIE-LCHlch(32.87, 64.67, 304.38°)
OKLaboklab(43.68% 0.047 -0.1529)
OKLCHoklch(43.68% 0.16 287.1)
XYZxyz(11.4811, 7.4772, 35.4815)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BA3 #8EA33B
analogous
#3B5AA3 #503BA3 #843BA3
triadic
#503BA3 #A3503B #3BA350
tetradic
#503BA3 #A33B5A #8EA33B #3BA384
square
#503BA3 #A33B5A #8EA33B #3BA384
split-complementary
#503BA3 #A3843B #5AA33B
monochromatic
#241A49 #3A2B76 #503BA3 #6E58C3 #9585D3

Accessibility & contrast

On white

8.41
#503BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#503BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BA3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BA3#FFFFFF#000000##FFFFFF
##503BA31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#325469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503ba3;
/* rgb */ color: rgb(80, 59, 163);
/* oklch */ color: oklch(43.7% 0.160 287.1);
Tailwind
colors: {
  custom: {
    50: '#8872bf',
    500: '#503ba3',
    950: '#000000',
  },
}
SCSS
$custom: #503ba3;
$custom-light: #8872bf;
$custom-dark: #000000;
JSON
{
  "hex": "#503ba3",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 252.115,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43677,
    "c": 0.15999,
    "h": 287.1
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#503BA3
secondary
#B0BD7D
accent
#D651BC
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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