#503CAF#503CAF

#503CAF is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.174 H 284.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#503CAF
RGBrgb(80, 60, 175)
HSLhsl(250, 49%, 46%)
HSVhsv(250, 66%, 69%)
CMYKcmyk(54.3%, 65.7%, 0%, 31.4%)
CIE-LABlab(34.05, 39.62, -58.64)
CIE-LCHlch(34.05, 70.77, 304.05°)
OKLaboklab(44.83% 0.0448 -0.1684)
OKLCHoklch(44.83% 0.174 284.9)
XYZxyz(12.6597, 8.0316, 41.4323)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CAF #9BAF3C
analogous
#3C61AF #503CAF #893CAF
triadic
#503CAF #AF503C #3CAF50
tetradic
#503CAF #AF3C61 #9BAF3C #3CAF89
square
#503CAF #AF3C61 #9BAF3C #3CAF89
split-complementary
#503CAF #AF893C #61AF3C
monochromatic
#261D54 #3B2C81 #503CAF #7260C8 #9A8DD8

Accessibility & contrast

On white

8.06
#503CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#503CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CAF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CAF#FFFFFF#000000##FFFFFF
##503CAF1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#275970
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503caf;
/* rgb */ color: rgb(80, 60, 175);
/* oklch */ color: oklch(44.8% 0.174 284.9);
Tailwind
colors: {
  custom: {
    50: '#8a73c8',
    500: '#503caf',
    950: '#000000',
  },
}
SCSS
$custom: #503caf;
$custom-light: #8a73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503caf",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 250.435,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44833,
    "c": 0.17426,
    "h": 284.9
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#503CAF
secondary
#B8C384
accent
#D84FC1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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