#503EA8#503EA8

#503EA8 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.6% C 0.163 H 285.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#503EA8
RGBrgb(80, 62, 168)
HSLhsl(250, 46%, 45%)
HSVhsv(250, 63%, 66%)
CMYKcmyk(52.4%, 63.1%, 0%, 34.1%)
CIE-LABlab(33.94, 36.27, -54.64)
CIE-LCHlch(33.94, 65.58, 303.57°)
OKLaboklab(44.58% 0.0435 -0.1567)
OKLCHoklch(44.58% 0.163 285.5)
XYZxyz(12.0967, 7.9773, 37.9406)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA8 #96A83E
analogous
#3E61A8 #503EA8 #853EA8
triadic
#503EA8 #A8503E #3EA850
tetradic
#503EA8 #A83E61 #96A83E #3EA885
square
#503EA8 #A83E61 #96A83E #3EA885
split-complementary
#503EA8 #A8853E #61A83E
monochromatic
#251D4F #3B2E7B #503EA8 #705FC4 #988CD5

Accessibility & contrast

On white

8.09
#503EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503EA8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA8#FFFFFF#000000##FFFFFF
##503EA81.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#2E576D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503ea8;
/* rgb */ color: rgb(80, 62, 168);
/* oklch */ color: oklch(44.6% 0.163 285.5);
Tailwind
colors: {
  custom: {
    50: '#8974c3',
    500: '#503ea8',
    950: '#000000',
  },
}
SCSS
$custom: #503ea8;
$custom-light: #8974c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea8",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 250.189,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.16257,
    "h": 285.5
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#503EA8
secondary
#B5BF83
accent
#D652BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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