#503EAA#503EAA

#503EAA is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.7% C 0.165 H 285.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#503EAA
RGBrgb(80, 62, 170)
HSLhsl(250, 47%, 45%)
HSVhsv(250, 64%, 67%)
CMYKcmyk(52.9%, 63.5%, 0%, 33.3%)
CIE-LABlab(34.09, 36.89, -55.59)
CIE-LCHlch(34.09, 66.71, 303.57°)
OKLaboklab(44.74% 0.0433 -0.1594)
OKLCHoklch(44.74% 0.165 285.2)
XYZxyz(12.2844, 8.0524, 38.9294)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EAA #98AA3E
analogous
#3E62AA #503EAA #863EAA
triadic
#503EAA #AA503E #3EAA50
tetradic
#503EAA #AA3E62 #98AA3E #3EAA86
square
#503EAA #AA3E62 #98AA3E #3EAA86
split-complementary
#503EAA #AA863E #62AA3E
monochromatic
#261D50 #3B2E7D #503EAA #7160C5 #998DD5

Accessibility & contrast

On white

8.04
#503EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#503EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EAA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EAA#FFFFFF#000000##FFFFFF
##503EAA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#2C586E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503eaa;
/* rgb */ color: rgb(80, 62, 170);
/* oklch */ color: oklch(44.7% 0.165 285.2);
Tailwind
colors: {
  custom: {
    50: '#8974c4',
    500: '#503eaa',
    950: '#000000',
  },
}
SCSS
$custom: #503eaa;
$custom-light: #8974c4;
$custom-dark: #000000;
JSON
{
  "hex": "#503eaa",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 250,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.1652,
    "h": 285.2
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#503EAA
secondary
#B6C084
accent
#D652C0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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