#503AAF#503AAF

#503AAF is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.177 H 285.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#503AAF
RGBrgb(80, 58, 175)
HSLhsl(251, 50%, 46%)
HSVhsv(251, 67%, 69%)
CMYKcmyk(54.3%, 66.9%, 0%, 31.4%)
CIE-LABlab(33.62, 40.78, -59.34)
CIE-LCHlch(33.62, 72.01, 304.50°)
OKLaboklab(44.52% 0.0467 -0.1705)
OKLCHoklch(44.52% 0.177 285.3)
XYZxyz(12.5569, 7.8260, 41.3980)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AAF #99AF3A
analogous
#3A5EAF #503AAF #8A3AAF
triadic
#503AAF #AF503A #3AAF50
tetradic
#503AAF #AF3A5E #99AF3A #3AAF8A
square
#503AAF #AF3A5E #99AF3A #3AAF8A
split-complementary
#503AAF #AF8A3A #5EAF3A
monochromatic
#261C53 #3B2B81 #503AAF #715DC9 #998BD9

Accessibility & contrast

On white

8.19
#503AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#503AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AAF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AAF#FFFFFF#000000##FFFFFF
##503AAF1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#28576F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503aaf;
/* rgb */ color: rgb(80, 58, 175);
/* oklch */ color: oklch(44.5% 0.177 285.3);
Tailwind
colors: {
  custom: {
    50: '#8a72c8',
    500: '#503aaf',
    950: '#000000',
  },
}
SCSS
$custom: #503aaf;
$custom-light: #8a72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503aaf",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 251.282,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.17675,
    "h": 285.3
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#503AAF
secondary
#B7C382
accent
#DA4EBF
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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