#503B99#503B99

#503B99 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.9% C 0.147 H 289.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#503B99
RGBrgb(80, 59, 153)
HSLhsl(253, 44%, 42%)
HSVhsv(253, 61%, 60%)
CMYKcmyk(47.7%, 61.4%, 0%, 40%)
CIE-LABlab(32.11, 33.47, -48.55)
CIE-LCHlch(32.11, 58.97, 304.58°)
OKLaboklab(42.88% 0.0477 -0.1388)
OKLCHoklch(42.88% 0.147 289)
XYZxyz(10.6204, 7.1329, 30.9480)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503B99 #84993B
analogous
#3B5599 #503B99 #7F3B99
triadic
#503B99 #99503B #3B9950
tetradic
#503B99 #993B55 #84993B #3B997F
square
#503B99 #993B55 #84993B #3B997F
split-complementary
#503B99 #997F3B #55993B
monochromatic
#221941 #392A6D #503B99 #6C54BD #9280CE

Accessibility & contrast

On white

8.65
#503B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#503B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503B99
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503B99#FFFFFF#000000##FFFFFF
##503B991.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#395164
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #503b99;
/* rgb */ color: rgb(80, 59, 153);
/* oklch */ color: oklch(42.9% 0.147 289.0);
Tailwind
colors: {
  custom: {
    50: '#8772b8',
    500: '#503b99',
    950: '#000000',
  },
}
SCSS
$custom: #503b99;
$custom-light: #8772b8;
$custom-dark: #000000;
JSON
{
  "hex": "#503b99",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 253.404,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42881,
    "c": 0.14673,
    "h": 289
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#503B99
secondary
#AAB878
accent
#D454B7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503B99

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

Preview Lab → · Contrast checker → · Palette generator →

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