#503CA2#503CA2

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

Color values

HEX#503CA2
RGBrgb(80, 60, 162)
HSLhsl(252, 46%, 44%)
HSVhsv(252, 63%, 64%)
CMYKcmyk(50.6%, 63%, 0%, 36.5%)
CIE-LABlab(33.02, 35.61, -52.53)
CIE-LCHlch(33.02, 63.46, 304.14°)
OKLaboklab(43.76% 0.046 -0.1504)
OKLCHoklch(43.76% 0.157 287)
XYZxyz(11.4438, 7.5453, 35.0288)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA2 #8EA23C
analogous
#3C5BA2 #503CA2 #833CA2
triadic
#503CA2 #A2503C #3CA250
tetradic
#503CA2 #A23C5B #8EA23C #3CA283
square
#503CA2 #A23C5B #8EA23C #3CA283
split-complementary
#503CA2 #A2833C #5BA23C
monochromatic
#241B49 #3A2B75 #503CA2 #6E59C2 #9586D2

Accessibility & contrast

On white

8.37
#503CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#503CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CA2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CA2#FFFFFF#000000##FFFFFF
##503CA21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#335469
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503ca2;
/* rgb */ color: rgb(80, 60, 162);
/* oklch */ color: oklch(43.8% 0.157 287.0);
Tailwind
colors: {
  custom: {
    50: '#8873be',
    500: '#503ca2',
    950: '#000000',
  },
}
SCSS
$custom: #503ca2;
$custom-light: #8873be;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca2",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 251.765,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.15733,
    "h": 287
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#503CA2
secondary
#B0BC7D
accent
#D652BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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