#503CA1#503CA1

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

Color values

HEX#503CA1
RGBrgb(80, 60, 161)
HSLhsl(252, 46%, 43%)
HSVhsv(252, 63%, 63%)
CMYKcmyk(50.3%, 62.7%, 0%, 36.9%)
CIE-LABlab(32.94, 35.31, -52.05)
CIE-LCHlch(32.94, 62.90, 304.15°)
OKLaboklab(43.68% 0.0461 -0.149)
OKLCHoklch(43.68% 0.156 287.2)
XYZxyz(11.3553, 7.5099, 34.5625)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA1 #8DA13C
analogous
#3C5AA1 #503CA1 #823CA1
triadic
#503CA1 #A1503C #3CA150
tetradic
#503CA1 #A13C5A #8DA13C #3CA182
square
#503CA1 #A13C5A #8DA13C #3CA182
split-complementary
#503CA1 #A1823C #5AA13C
monochromatic
#241B48 #3A2B74 #503CA1 #6E59C1 #9586D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##503CA1#FFFFFF#000000##FFFFFF
##503CA11.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)
#0050A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#335469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503ca1;
/* rgb */ color: rgb(80, 60, 161);
/* oklch */ color: oklch(43.7% 0.156 287.2);
Tailwind
colors: {
  custom: {
    50: '#8873be',
    500: '#503ca1',
    950: '#000000',
  },
}
SCSS
$custom: #503ca1;
$custom-light: #8873be;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca1",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 251.881,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43681,
    "c": 0.156,
    "h": 287.2
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#503CA1
secondary
#AFBC7D
accent
#D552BB
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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