#503EAD#503EAD

#503EAD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.169 H 284.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#503EAD
RGBrgb(80, 62, 173)
HSLhsl(250, 47%, 46%)
HSVhsv(250, 64%, 68%)
CMYKcmyk(53.8%, 64.2%, 0%, 32.2%)
CIE-LABlab(34.33, 37.82, -56.99)
CIE-LCHlch(34.33, 68.40, 303.57°)
OKLaboklab(44.99% 0.043 -0.1636)
OKLCHoklch(44.99% 0.169 284.7)
XYZxyz(12.5714, 8.1672, 40.4411)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EAD #9BAD3E
analogous
#3E63AD #503EAD #873EAD
triadic
#503EAD #AD503E #3EAD50
tetradic
#503EAD #AD3E63 #9BAD3E #3EAD87
square
#503EAD #AD3E63 #9BAD3E #3EAD87
split-complementary
#503EAD #AD873E #63AD3E
monochromatic
#261E53 #3B2E80 #503EAD #7262C7 #9A8FD7

Accessibility & contrast

On white

7.97
#503EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#503EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EAD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EAD#FFFFFF#000000##FFFFFF
##503EAD1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#295970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503ead;
/* rgb */ color: rgb(80, 62, 173);
/* oklch */ color: oklch(45.0% 0.169 284.7);
Tailwind
colors: {
  custom: {
    50: '#8a74c6',
    500: '#503ead',
    950: '#000000',
  },
}
SCSS
$custom: #503ead;
$custom-light: #8a74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#503ead",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 249.73,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44986,
    "c": 0.16912,
    "h": 284.7
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#503EAD
secondary
#B8C285
accent
#D751C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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