#503CAE#503CAE

#503CAE is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.7% C 0.173 H 285.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#503CAE
RGBrgb(80, 60, 174)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 68%)
CMYKcmyk(54%, 65.5%, 0%, 31.8%)
CIE-LABlab(33.97, 39.31, -58.18)
CIE-LCHlch(33.97, 70.21, 304.05°)
OKLaboklab(44.75% 0.0449 -0.167)
OKLCHoklch(44.75% 0.173 285)
XYZxyz(12.5618, 7.9925, 40.9170)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CAE #9AAE3C
analogous
#3C61AE #503CAE #893CAE
triadic
#503CAE #AE503C #3CAE50
tetradic
#503CAE #AE3C61 #9AAE3C #3CAE89
square
#503CAE #AE3C61 #9AAE3C #3CAE89
split-complementary
#503CAE #AE893C #61AE3C
monochromatic
#261D53 #3B2C80 #503CAE #725FC8 #9A8DD8

Accessibility & contrast

On white

8.08
#503CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#503CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CAE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CAE#FFFFFF#000000##FFFFFF
##503CAE1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#28586F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503cae;
/* rgb */ color: rgb(80, 60, 174);
/* oklch */ color: oklch(44.7% 0.173 285.0);
Tailwind
colors: {
  custom: {
    50: '#8a73c7',
    500: '#503cae',
    950: '#000000',
  },
}
SCSS
$custom: #503cae;
$custom-light: #8a73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#503cae",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 250.526,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.17298,
    "h": 285
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#503CAE
secondary
#B7C283
accent
#D850C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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