#503E9D#503E9D

#503E9D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.7% C 0.148 H 287.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#503E9D
RGBrgb(80, 62, 157)
HSLhsl(251, 43%, 43%)
HSVhsv(251, 61%, 62%)
CMYKcmyk(49%, 60.5%, 0%, 38.4%)
CIE-LABlab(33.10, 32.86, -49.37)
CIE-LCHlch(33.10, 59.31, 303.65°)
OKLaboklab(43.7% 0.0441 -0.1412)
OKLCHoklch(43.7% 0.148 287.3)
XYZxyz(11.1149, 7.5846, 32.7701)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E9D #8B9D3E
analogous
#3E5C9D #503E9D #7F3E9D
triadic
#503E9D #9D503E #3E9D50
tetradic
#503E9D #9D3E5C #8B9D3E #3E9D7F
square
#503E9D #9D3E5C #8B9D3E #3E9D7F
split-complementary
#503E9D #9D7F3E #5C9D3E
monochromatic
#231B45 #3A2D71 #503E9D #6D5ABE #9486CF

Accessibility & contrast

On white

8.34
#503E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#503E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E9D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E9D#FFFFFF#000000##FFFFFF
##503E9D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#365467
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503e9d;
/* rgb */ color: rgb(80, 62, 157);
/* oklch */ color: oklch(43.7% 0.148 287.3);
Tailwind
colors: {
  custom: {
    50: '#8774bb',
    500: '#503e9d',
    950: '#000000',
  },
}
SCSS
$custom: #503e9d;
$custom-light: #8774bb;
$custom-dark: #000000;
JSON
{
  "hex": "#503e9d",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 251.368,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.14788,
    "h": 287.3
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#503E9D
secondary
#AEBA7D
accent
#D355BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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