#503E86#503E86

#503E86 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.0% C 0.116 H 292.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#503E86
RGBrgb(80, 62, 134)
HSLhsl(255, 37%, 38%)
HSVhsv(255, 54%, 53%)
CMYKcmyk(40.3%, 53.7%, 0%, 47.5%)
CIE-LABlab(31.51, 25.87, -37.85)
CIE-LCHlch(31.51, 45.85, 304.36°)
OKLaboklab(42.02% 0.0438 -0.1073)
OKLCHoklch(42.02% 0.116 292.2)
XYZxyz(9.3328, 6.8717, 23.3843)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E86 #74863E
analogous
#3E5086 #503E86 #743E86
triadic
#503E86 #86503E #3E8650
tetradic
#503E86 #863E50 #74863E #3E8674
square
#503E86 #863E50 #74863E #3E8674
split-complementary
#503E86 #86743E #50863E
monochromatic
#1E1732 #372B5C #503E86 #6952AF #8E7CC2

Accessibility & contrast

On white

8.84
#503E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#503E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E86
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E86#FFFFFF#000000##FFFFFF
##503E861.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#234984
Tritanopia (blue-blind)
#424D5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503e86;
/* rgb */ color: rgb(80, 62, 134);
/* oklch */ color: oklch(42.0% 0.116 292.2);
Tailwind
colors: {
  custom: {
    50: '#8473aa',
    500: '#503e86',
    950: '#000000',
  },
}
SCSS
$custom: #503e86;
$custom-light: #8473aa;
$custom-dark: #000000;
JSON
{
  "hex": "#503e86",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 255,
    "s": 36.735,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.11588,
    "h": 292.2
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#503E86
secondary
#9EAC73
accent
#CD5BB0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503E86

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

Preview Lab → · Contrast checker → · Palette generator →

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