#503C91#503C91

#503C91 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.4% C 0.134 H 290.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#503C91
RGBrgb(80, 60, 145)
HSLhsl(254, 41%, 40%)
HSVhsv(254, 59%, 57%)
CMYKcmyk(44.8%, 58.6%, 0%, 43.1%)
CIE-LABlab(31.76, 30.43, -44.22)
CIE-LCHlch(31.76, 53.68, 304.53°)
OKLaboklab(42.45% 0.0467 -0.126)
OKLCHoklch(42.45% 0.134 290.3)
XYZxyz(10.0335, 6.9812, 27.6014)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503C91 #7D913C
analogous
#3C5291 #503C91 #7B3C91
triadic
#503C91 #91503C #3C9150
tetradic
#503C91 #913C52 #7D913C #3C917B
square
#503C91 #913C52 #7D913C #3C917B
split-complementary
#503C91 #917B3C #52913C
monochromatic
#20183A #382A66 #503C91 #6A53B8 #907ECA

Accessibility & contrast

On white

8.76
#503C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#503C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503C91
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503C91#FFFFFF#000000##FFFFFF
##503C911.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C94
Deuteranopia (green-blind)
#0C498F
Tritanopia (blue-blind)
#3D4F60
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503c91;
/* rgb */ color: rgb(80, 60, 145);
/* oklch */ color: oklch(42.4% 0.134 290.3);
Tailwind
colors: {
  custom: {
    50: '#8672b2',
    500: '#503c91',
    950: '#000000',
  },
}
SCSS
$custom: #503c91;
$custom-light: #8672b2;
$custom-dark: #000000;
JSON
{
  "hex": "#503c91",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 254.118,
    "s": 41.463,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.13441,
    "h": 290.3
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#503C91
secondary
#A5B375
accent
#D157B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #503C91

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

Preview Lab → · Contrast checker → · Palette generator →

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