#503BA4#503BA4

#503BA4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.161 H 286.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#503BA4
RGBrgb(80, 59, 164)
HSLhsl(252, 47%, 44%)
HSVhsv(252, 64%, 64%)
CMYKcmyk(51.2%, 64%, 0%, 35.7%)
CIE-LABlab(32.95, 36.83, -53.85)
CIE-LCHlch(32.95, 65.23, 304.37°)
OKLaboklab(43.76% 0.0469 -0.1543)
OKLCHoklch(43.76% 0.161 286.9)
XYZxyz(11.5711, 7.5132, 35.9553)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BA4 #8FA43B
analogous
#3B5AA4 #503BA4 #843BA4
triadic
#503BA4 #A4503B #3BA450
tetradic
#503BA4 #A43B5A #8FA43B #3BA484
square
#503BA4 #A43B5A #8FA43B #3BA484
split-complementary
#503BA4 #A4843B #5AA43B
monochromatic
#241B4A #3A2B77 #503BA4 #6E59C3 #9586D3

Accessibility & contrast

On white

8.39
#503BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503BA4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BA4#FFFFFF#000000##FFFFFF
##503BA41.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#31546A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503ba4;
/* rgb */ color: rgb(80, 59, 164);
/* oklch */ color: oklch(43.8% 0.161 286.9);
Tailwind
colors: {
  custom: {
    50: '#8872c0',
    500: '#503ba4',
    950: '#000000',
  },
}
SCSS
$custom: #503ba4;
$custom-light: #8872c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503ba4",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 252,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43759,
    "c": 0.1613,
    "h": 286.9
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#503BA4
secondary
#B1BE7D
accent
#D751BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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