#503AA7#503AA7

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

Color values

HEX#503AA7
RGBrgb(80, 58, 167)
HSLhsl(252, 48%, 44%)
HSVhsv(252, 65%, 65%)
CMYKcmyk(52.1%, 65.3%, 0%, 34.5%)
CIE-LABlab(32.96, 38.34, -55.62)
CIE-LCHlch(32.96, 67.55, 304.58°)
OKLaboklab(43.85% 0.0477 -0.1595)
OKLCHoklch(43.85% 0.167 286.6)
XYZxyz(11.7943, 7.5210, 37.3820)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AA7 #91A73A
analogous
#3A5BA7 #503AA7 #873AA7
triadic
#503AA7 #A7503A #3AA750
tetradic
#503AA7 #A73A5B #91A73A #3AA787
square
#503AA7 #A73A5B #91A73A #3AA787
split-complementary
#503AA7 #A7873A #5BA73A
monochromatic
#241A4C #3A2A7A #503AA7 #6F59C5 #9686D5

Accessibility & contrast

On white

8.39
#503AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#503AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AA7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AA7#FFFFFF#000000##FFFFFF
##503AA71.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#2F556B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503aa7;
/* rgb */ color: rgb(80, 58, 167);
/* oklch */ color: oklch(43.8% 0.167 286.6);
Tailwind
colors: {
  custom: {
    50: '#8971c2',
    500: '#503aa7',
    950: '#000000',
  },
}
SCSS
$custom: #503aa7;
$custom-light: #8971c2;
$custom-dark: #000000;
JSON
{
  "hex": "#503aa7",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 252.11,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.16651,
    "h": 286.6
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#503AA7
secondary
#B2BF7E
accent
#D850BD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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