#503A91#503A91

#503A91 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.1% C 0.137 H 291.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#503A91
RGBrgb(80, 58, 145)
HSLhsl(255, 43%, 40%)
HSVhsv(255, 60%, 57%)
CMYKcmyk(44.8%, 60%, 0%, 43.1%)
CIE-LABlab(31.29, 31.66, -44.99)
CIE-LCHlch(31.29, 55.01, 305.13°)
OKLaboklab(42.1% 0.0492 -0.1283)
OKLCHoklch(42.1% 0.137 291)
XYZxyz(9.9307, 6.7756, 27.5672)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A91 #7B913A
analogous
#3A5091 #503A91 #7B3A91
triadic
#503A91 #91503A #3A9150
tetradic
#503A91 #913A50 #7B913A #3A917B
square
#503A91 #913A50 #7B913A #3A917B
split-complementary
#503A91 #917B3A #50913A
monochromatic
#20173A #382965 #503A91 #6A4FB9 #8F7BCA

Accessibility & contrast

On white

8.92
#503A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#503A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A91
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A91#FFFFFF#000000##FFFFFF
##503A911.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#04488F
Tritanopia (blue-blind)
#3D4D5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503a91;
/* rgb */ color: rgb(80, 58, 145);
/* oklch */ color: oklch(42.1% 0.137 291.0);
Tailwind
colors: {
  custom: {
    50: '#8671b2',
    500: '#503a91',
    950: '#000000',
  },
}
SCSS
$custom: #503a91;
$custom-light: #8671b2;
$custom-dark: #000000;
JSON
{
  "hex": "#503a91",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 255.172,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.13738,
    "h": 291
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#503A91
secondary
#A3B473
accent
#D355B3
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503A91

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

Preview Lab → · Contrast checker → · Palette generator →

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