#503E99#503E99

#503E99 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.4% C 0.142 H 288.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#503E99
RGBrgb(80, 62, 153)
HSLhsl(252, 42%, 42%)
HSVhsv(252, 59%, 60%)
CMYKcmyk(47.7%, 59.5%, 0%, 40%)
CIE-LABlab(32.81, 31.63, -47.42)
CIE-LCHlch(32.81, 57.00, 303.70°)
OKLaboklab(43.4% 0.0442 -0.1354)
OKLCHoklch(43.4% 0.142 288.1)
XYZxyz(10.7790, 7.4502, 31.0009)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E99 #87993E
analogous
#3E5A99 #503E99 #7E3E99
triadic
#503E99 #99503E #3E9950
tetradic
#503E99 #993E5A #87993E #3E997E
square
#503E99 #993E5A #87993E #3E997E
split-complementary
#503E99 #997E3E #5A993E
monochromatic
#221B42 #392C6D #503E99 #6C59BC #9384CD

Accessibility & contrast

On white

8.43
#503E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#503E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E99
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E99#FFFFFF#000000##FFFFFF
##503E991.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#385365
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #503e99;
/* rgb */ color: rgb(80, 62, 153);
/* oklch */ color: oklch(43.4% 0.142 288.1);
Tailwind
colors: {
  custom: {
    50: '#8774b8',
    500: '#503e99',
    950: '#000000',
  },
}
SCSS
$custom: #503e99;
$custom-light: #8774b8;
$custom-dark: #000000;
JSON
{
  "hex": "#503e99",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 251.868,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43397,
    "c": 0.14244,
    "h": 288.1
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#503E99
secondary
#ACB87B
accent
#D256BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503E99

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

Preview Lab → · Contrast checker → · Palette generator →

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