#503EA7#503EA7

#503EA7 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.5% C 0.161 H 285.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#503EA7
RGBrgb(80, 62, 167)
HSLhsl(250, 46%, 45%)
HSVhsv(250, 63%, 65%)
CMYKcmyk(52.1%, 62.9%, 0%, 34.5%)
CIE-LABlab(33.86, 35.96, -54.17)
CIE-LCHlch(33.86, 65.02, 303.57°)
OKLaboklab(44.5% 0.0435 -0.1553)
OKLCHoklch(44.5% 0.161 285.7)
XYZxyz(12.0039, 7.9401, 37.4518)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA7 #95A73E
analogous
#3E60A7 #503EA7 #853EA7
triadic
#503EA7 #A7503E #3EA750
tetradic
#503EA7 #A73E60 #95A73E #3EA785
square
#503EA7 #A73E60 #95A73E #3EA785
split-complementary
#503EA7 #A7853E #60A73E
monochromatic
#251D4E #3B2D7A #503EA7 #705FC3 #988BD4

Accessibility & contrast

On white

8.11
#503EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#503EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA7#FFFFFF#000000##FFFFFF
##503EA71.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#2F576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503ea7;
/* rgb */ color: rgb(80, 62, 167);
/* oklch */ color: oklch(44.5% 0.161 285.7);
Tailwind
colors: {
  custom: {
    50: '#8974c2',
    500: '#503ea7',
    950: '#000000',
  },
}
SCSS
$custom: #503ea7;
$custom-light: #8974c2;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea7",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 250.286,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.16125,
    "h": 285.7
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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