#503CA0#503CA0

#503CA0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.6% C 0.155 H 287.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#503CA0
RGBrgb(80, 60, 160)
HSLhsl(252, 45%, 43%)
HSVhsv(252, 63%, 63%)
CMYKcmyk(50%, 62.5%, 0%, 37.3%)
CIE-LABlab(32.86, 35.00, -51.57)
CIE-LCHlch(32.86, 62.33, 304.16°)
OKLaboklab(43.6% 0.0462 -0.1476)
OKLCHoklch(43.6% 0.155 287.4)
XYZxyz(11.2674, 7.4747, 34.1000)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA0 #8CA03C
analogous
#3C5AA0 #503CA0 #823CA0
triadic
#503CA0 #A0503C #3CA050
tetradic
#503CA0 #A03C5A #8CA03C #3CA082
square
#503CA0 #A03C5A #8CA03C #3CA082
split-complementary
#503CA0 #A0823C #5AA03C
monochromatic
#231B47 #3A2B73 #503CA0 #6D59C1 #9485D1

Accessibility & contrast

On white

8.42
#503CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#503CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CA0
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CA0#FFFFFF#000000##FFFFFF
##503CA01.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#345468
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503ca0;
/* rgb */ color: rgb(80, 60, 160);
/* oklch */ color: oklch(43.6% 0.155 287.4);
Tailwind
colors: {
  custom: {
    50: '#8873bd',
    500: '#503ca0',
    950: '#000000',
  },
}
SCSS
$custom: #503ca0;
$custom-light: #8873bd;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca0",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 252,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.15468,
    "h": 287.4
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#503CA0
secondary
#AFBB7C
accent
#D553BB
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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