#503DA9#503DA9

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

Color values

HEX#503DA9
RGBrgb(80, 61, 169)
HSLhsl(251, 47%, 45%)
HSVhsv(251, 64%, 66%)
CMYKcmyk(52.7%, 63.9%, 0%, 33.7%)
CIE-LABlab(33.79, 37.17, -55.48)
CIE-LCHlch(33.79, 66.78, 303.82°)
OKLaboklab(44.49% 0.0444 -0.1591)
OKLCHoklch(44.49% 0.165 285.6)
XYZxyz(12.1363, 7.9069, 38.4151)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DA9 #96A93D
analogous
#3D60A9 #503DA9 #863DA9
triadic
#503DA9 #A9503D #3DA950
tetradic
#503DA9 #A93D60 #96A93D #3DA986
square
#503DA9 #A93D60 #96A93D #3DA986
split-complementary
#503DA9 #A9863D #60A93D
monochromatic
#251D4F #3B2D7C #503DA9 #705EC5 #988BD5

Accessibility & contrast

On white

8.13
#503DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#503DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503DA9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DA9#FFFFFF#000000##FFFFFF
##503DA91.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#2D576D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503da9;
/* rgb */ color: rgb(80, 61, 169);
/* oklch */ color: oklch(44.5% 0.165 285.6);
Tailwind
colors: {
  custom: {
    50: '#8973c3',
    500: '#503da9',
    950: '#000000',
  },
}
SCSS
$custom: #503da9;
$custom-light: #8973c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503da9",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 250.556,
    "s": 46.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44494,
    "c": 0.16521,
    "h": 285.6
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#503DA9
secondary
#B5C082
accent
#D751BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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