#503E89#503E89

#503E89 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.2% C 0.120 H 291.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#503E89
RGBrgb(80, 62, 137)
HSLhsl(254, 38%, 39%)
HSVhsv(254, 55%, 54%)
CMYKcmyk(41.6%, 54.7%, 0%, 46.3%)
CIE-LABlab(31.71, 26.77, -39.39)
CIE-LCHlch(31.71, 47.63, 304.20°)
OKLaboklab(42.23% 0.044 -0.1118)
OKLCHoklch(42.23% 0.12 291.5)
XYZxyz(9.5450, 6.9566, 24.5019)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E89 #77893E
analogous
#3E5289 #503E89 #763E89
triadic
#503E89 #89503E #3E8950
tetradic
#503E89 #893E52 #77893E #3E8976
square
#503E89 #893E52 #77893E #3E8976
split-complementary
#503E89 #89763E #52893E
monochromatic
#1F1835 #372B5F #503E89 #6A53B1 #8E7DC4

Accessibility & contrast

On white

8.78
#503E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#503E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E89
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E89#FFFFFF#000000##FFFFFF
##503E891.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8C
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#414E5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503e89;
/* rgb */ color: rgb(80, 62, 137);
/* oklch */ color: oklch(42.2% 0.120 291.5);
Tailwind
colors: {
  custom: {
    50: '#8574ac',
    500: '#503e89',
    950: '#000000',
  },
}
SCSS
$custom: #503e89;
$custom-light: #8574ac;
$custom-dark: #000000;
JSON
{
  "hex": "#503e89",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 254.4,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.12016,
    "h": 291.5
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#503E89
secondary
#A0AE74
accent
#CE5AB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503E89

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

Preview Lab → · Contrast checker → · Palette generator →

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