#503D89#503D89

#503D89 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.0% C 0.122 H 291.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#503D89
RGBrgb(80, 61, 137)
HSLhsl(255, 38%, 39%)
HSVhsv(255, 55%, 54%)
CMYKcmyk(41.6%, 55.5%, 0%, 46.3%)
CIE-LABlab(31.46, 27.40, -39.79)
CIE-LCHlch(31.46, 48.31, 304.55°)
OKLaboklab(42.05% 0.0453 -0.113)
OKLCHoklch(42.05% 0.122 291.8)
XYZxyz(9.4911, 6.8488, 24.4840)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503D89 #76893D
analogous
#3D5089 #503D89 #763D89
triadic
#503D89 #89503D #3D8950
tetradic
#503D89 #893D50 #76893D #3D8976
square
#503D89 #893D50 #76893D #3D8976
split-complementary
#503D89 #89763D #50893D
monochromatic
#1F1734 #372A5F #503D89 #6A51B2 #8E7CC5

Accessibility & contrast

On white

8.86
#503D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503D89
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503D89#FFFFFF#000000##FFFFFF
##503D891.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#1D4987
Tritanopia (blue-blind)
#414D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503d89;
/* rgb */ color: rgb(80, 61, 137);
/* oklch */ color: oklch(42.0% 0.122 291.8);
Tailwind
colors: {
  custom: {
    50: '#8573ac',
    500: '#503d89',
    950: '#000000',
  },
}
SCSS
$custom: #503d89;
$custom-light: #8573ac;
$custom-dark: #000000;
JSON
{
  "hex": "#503d89",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 255,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.12172,
    "h": 291.8
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#503D89
secondary
#A0AE73
accent
#CE59B1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503D89

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

Preview Lab → · Contrast checker → · Palette generator →

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