#503B97#503B97

#503B97 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.7% C 0.144 H 289.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#503B97
RGBrgb(80, 59, 151)
HSLhsl(254, 44%, 41%)
HSVhsv(254, 61%, 59%)
CMYKcmyk(47%, 60.9%, 0%, 40.8%)
CIE-LABlab(31.96, 32.86, -47.58)
CIE-LCHlch(31.96, 57.82, 304.63°)
OKLaboklab(42.73% 0.0478 -0.1359)
OKLCHoklch(42.73% 0.144 289.4)
XYZxyz(10.4566, 7.0674, 30.0853)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503B97 #82973B
analogous
#3B5497 #503B97 #7E3B97
triadic
#503B97 #97503B #3B9750
tetradic
#503B97 #973B54 #82973B #3B977E
square
#503B97 #973B54 #82973B #3B977E
split-complementary
#503B97 #977E3B #54973B
monochromatic
#21193F #392A6B #503B97 #6B53BC #917FCD

Accessibility & contrast

On white

8.70
#503B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#503B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503B97
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503B97#FFFFFF#000000##FFFFFF
##503B971.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#3A5063
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503b97;
/* rgb */ color: rgb(80, 59, 151);
/* oklch */ color: oklch(42.7% 0.144 289.4);
Tailwind
colors: {
  custom: {
    50: '#8772b6',
    500: '#503b97',
    950: '#000000',
  },
}
SCSS
$custom: #503b97;
$custom-light: #8772b6;
$custom-dark: #000000;
JSON
{
  "hex": "#503b97",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 253.696,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.14404,
    "h": 289.4
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503B97

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

Preview Lab → · Contrast checker → · Palette generator →

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