#503D94#503D94

#503D94 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.8% C 0.137 H 289.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#503D94
RGBrgb(80, 61, 148)
HSLhsl(253, 42%, 41%)
HSVhsv(253, 59%, 58%)
CMYKcmyk(45.9%, 58.8%, 0%, 42%)
CIE-LABlab(32.21, 30.72, -45.33)
CIE-LCHlch(32.21, 54.76, 304.12°)
OKLaboklab(42.85% 0.0455 -0.1293)
OKLCHoklch(42.85% 0.137 289.4)
XYZxyz(10.3208, 7.1807, 28.8534)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503D94 #81943D
analogous
#3D5594 #503D94 #7B3D94
triadic
#503D94 #94503D #3D9450
tetradic
#503D94 #943D55 #81943D #3D947B
square
#503D94 #943D55 #81943D #3D947B
split-complementary
#503D94 #947B3D #55943D
monochromatic
#21193D #392B69 #503D94 #6B55B9 #9181CB

Accessibility & contrast

On white

8.62
#503D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#503D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503D94
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503D94#FFFFFF#000000##FFFFFF
##503D941.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E97
Deuteranopia (green-blind)
#074A92
Tritanopia (blue-blind)
#3B5062
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #503d94;
/* rgb */ color: rgb(80, 61, 148);
/* oklch */ color: oklch(42.8% 0.137 289.4);
Tailwind
colors: {
  custom: {
    50: '#8673b4',
    500: '#503d94',
    950: '#000000',
  },
}
SCSS
$custom: #503d94;
$custom-light: #8673b4;
$custom-dark: #000000;
JSON
{
  "hex": "#503d94",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 253.103,
    "s": 41.627,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.13704,
    "h": 289.4
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#503D94
secondary
#A8B578
accent
#D156B7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503D94

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

Preview Lab → · Contrast checker → · Palette generator →

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