#503A79#503A79

#503A79 is a dark, moderate violet. Relative luminance 0.061; OKLCH L 40.4% C 0.104 H 297.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#503A79
RGBrgb(80, 58, 121)
HSLhsl(261, 35%, 35%)
HSVhsv(261, 52%, 47%)
CMYKcmyk(33.9%, 52.1%, 0%, 52.5%)
CIE-LABlab(29.69, 24.62, -32.65)
CIE-LCHlch(29.69, 40.89, 307.02°)
OKLaboklab(40.4% 0.0483 -0.092)
OKLCHoklch(40.4% 0.104 297.7)
XYZxyz(8.2717, 6.1120, 18.8294)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A79 #63793A
analogous
#3A4479 #503A79 #6F3A79
triadic
#503A79 #79503A #3A7950
tetradic
#503A79 #793A44 #63793A #3A796F
square
#503A79 #793A44 #63793A #3A796F
split-complementary
#503A79 #796F3A #44793A
monochromatic
#191226 #352650 #503A79 #6B4EA2 #8C72BB

Accessibility & contrast

On white

9.45
#503A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503A79
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A79#FFFFFF#000000##FFFFFF
##503A791.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#294577
Tritanopia (blue-blind)
#474654
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503a79;
/* rgb */ color: rgb(80, 58, 121);
/* oklch */ color: oklch(40.4% 0.104 297.7);
Tailwind
colors: {
  custom: {
    50: '#8370a0',
    500: '#503a79',
    950: '#000000',
  },
}
SCSS
$custom: #503a79;
$custom-light: #8370a0;
$custom-dark: #000000;
JSON
{
  "hex": "#503a79",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 260.952,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.10394,
    "h": 297.7
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#503A79
secondary
#90A56A
accent
#CB5DA5
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #503A79

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

Preview Lab → · Contrast checker → · Palette generator →

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