#503A97#503A97

#503A97 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.6% C 0.145 H 289.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#503A97
RGBrgb(80, 58, 151)
HSLhsl(254, 44%, 41%)
HSVhsv(254, 62%, 59%)
CMYKcmyk(47%, 61.6%, 0%, 40.8%)
CIE-LABlab(31.73, 33.47, -47.95)
CIE-LCHlch(31.73, 58.47, 304.91°)
OKLaboklab(42.56% 0.0489 -0.137)
OKLCHoklch(42.56% 0.145 289.7)
XYZxyz(10.4057, 6.9656, 30.0684)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A97 #81973A
analogous
#3A5297 #503A97 #7E3A97
triadic
#503A97 #97503A #3A9750
tetradic
#503A97 #973A52 #81973A #3A977E
square
#503A97 #973A52 #81973A #3A977E
split-complementary
#503A97 #977E3A #52973A
monochromatic
#21183F #39296B #503A97 #6B52BC #917ECD

Accessibility & contrast

On white

8.77
#503A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#503A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A97
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A97#FFFFFF#000000##FFFFFF
##503A971.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#3A4F63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503a97;
/* rgb */ color: rgb(80, 58, 151);
/* oklch */ color: oklch(42.6% 0.145 289.7);
Tailwind
colors: {
  custom: {
    50: '#8771b6',
    500: '#503a97',
    950: '#000000',
  },
}
SCSS
$custom: #503a97;
$custom-light: #8771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#503a97",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 254.194,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.14547,
    "h": 289.7
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#503A97
secondary
#A8B776
accent
#D454B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503A97

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

Preview Lab → · Contrast checker → · Palette generator →

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