#503DA8#503DA8

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

Color values

HEX#503DA8
RGBrgb(80, 61, 168)
HSLhsl(251, 47%, 45%)
HSVhsv(251, 64%, 66%)
CMYKcmyk(52.4%, 63.7%, 0%, 34.1%)
CIE-LABlab(33.71, 36.87, -55.01)
CIE-LCHlch(33.71, 66.22, 303.83°)
OKLaboklab(44.41% 0.0445 -0.1577)
OKLCHoklch(44.41% 0.164 285.7)
XYZxyz(12.0428, 7.8695, 37.9226)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DA8 #95A83D
analogous
#3D60A8 #503DA8 #853DA8
triadic
#503DA8 #A8503D #3DA850
tetradic
#503DA8 #A83D60 #95A83D #3DA885
square
#503DA8 #A83D60 #95A83D #3DA885
split-complementary
#503DA8 #A8853D #60A83D
monochromatic
#251C4E #3B2D7B #503DA8 #705EC4 #988BD5

Accessibility & contrast

On white

8.16
#503DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#503DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DA8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DA8#FFFFFF#000000##FFFFFF
##503DA81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#2E576D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503da8;
/* rgb */ color: rgb(80, 61, 168);
/* oklch */ color: oklch(44.4% 0.164 285.7);
Tailwind
colors: {
  custom: {
    50: '#8973c3',
    500: '#503da8',
    950: '#000000',
  },
}
SCSS
$custom: #503da8;
$custom-light: #8973c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503da8",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 250.654,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.16389,
    "h": 285.7
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#503DA8
secondary
#B4BF81
accent
#D651BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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