#503F98#503F98

#503F98 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.5% C 0.140 H 287.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#503F98
RGBrgb(80, 63, 152)
HSLhsl(251, 41%, 42%)
HSVhsv(251, 59%, 60%)
CMYKcmyk(47.4%, 58.6%, 0%, 40.4%)
CIE-LABlab(32.98, 30.70, -46.54)
CIE-LCHlch(32.98, 55.75, 303.41°)
OKLaboklab(43.5% 0.043 -0.1328)
OKLCHoklch(43.5% 0.14 287.9)
XYZxyz(10.7516, 7.5270, 30.5860)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503F98 #87983F
analogous
#3F5A98 #503F98 #7D3F98
triadic
#503F98 #98503F #3F9850
tetradic
#503F98 #983F5A #87983F #3F987D
square
#503F98 #983F5A #87983F #3F987D
split-complementary
#503F98 #987D3F #5A983F
monochromatic
#221B41 #392D6D #503F98 #6C5ABA #9385CC

Accessibility & contrast

On white

8.38
#503F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#503F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503F98
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503F98#FFFFFF#000000##FFFFFF
##503F981.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509B
Deuteranopia (green-blind)
#024B96
Tritanopia (blue-blind)
#395365
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503f98;
/* rgb */ color: rgb(80, 63, 152);
/* oklch */ color: oklch(43.5% 0.140 287.9);
Tailwind
colors: {
  custom: {
    50: '#8774b7',
    500: '#503f98',
    950: '#000000',
  },
}
SCSS
$custom: #503f98;
$custom-light: #8774b7;
$custom-dark: #000000;
JSON
{
  "hex": "#503f98",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 251.461,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.13961,
    "h": 287.9
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#503F98
secondary
#ACB77C
accent
#D157BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503F98

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

Preview Lab → · Contrast checker → · Palette generator →

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