#503A78#503A78

#503A78 is a dark, moderate violet. Relative luminance 0.061; OKLCH L 40.3% C 0.103 H 298.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#503A78
RGBrgb(80, 58, 120)
HSLhsl(261, 35%, 35%)
HSVhsv(261, 52%, 47%)
CMYKcmyk(33.3%, 51.7%, 0%, 52.9%)
CIE-LABlab(29.63, 24.34, -32.11)
CIE-LCHlch(29.63, 40.29, 307.16°)
OKLaboklab(40.34% 0.0482 -0.0905)
OKLCHoklch(40.34% 0.103 298)
XYZxyz(8.2107, 6.0876, 18.5081)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A78 #62783A
analogous
#3A4378 #503A78 #6F3A78
triadic
#503A78 #78503A #3A7850
tetradic
#503A78 #783A43 #62783A #3A786F
square
#503A78 #783A43 #62783A #3A786F
split-complementary
#503A78 #786F3A #43783A
monochromatic
#191225 #34264F #503A78 #6C4EA1 #8C72BB

Accessibility & contrast

On white

9.47
#503A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#503A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A78
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A78#FFFFFF#000000##FFFFFF
##503A781.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#2A4577
Tritanopia (blue-blind)
#474653
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503a78;
/* rgb */ color: rgb(80, 58, 120);
/* oklch */ color: oklch(40.3% 0.103 298.0);
Tailwind
colors: {
  custom: {
    50: '#83709f',
    500: '#503a78',
    950: '#000000',
  },
}
SCSS
$custom: #503a78;
$custom-light: #83709f;
$custom-dark: #000000;
JSON
{
  "hex": "#503a78",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 261.29,
    "s": 34.831,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.10252,
    "h": 298
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#503A78
secondary
#8FA46A
accent
#CB5DA4
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #503A78

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

Preview Lab → · Contrast checker → · Palette generator →

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