#503D98#503D98

#503D98 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.1% C 0.143 H 288.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#503D98
RGBrgb(80, 61, 152)
HSLhsl(253, 43%, 42%)
HSVhsv(253, 60%, 60%)
CMYKcmyk(47.4%, 59.9%, 0%, 40.4%)
CIE-LABlab(32.50, 31.94, -47.31)
CIE-LCHlch(32.50, 57.08, 304.02°)
OKLaboklab(43.15% 0.0454 -0.1351)
OKLCHoklch(43.15% 0.143 288.6)
XYZxyz(10.6429, 7.3095, 30.5498)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503D98 #85983D
analogous
#3D5898 #503D98 #7E3D98
triadic
#503D98 #98503D #3D9850
tetradic
#503D98 #983D58 #85983D #3D987E
square
#503D98 #983D58 #85983D #3D987E
split-complementary
#503D98 #987E3D #58983D
monochromatic
#221A41 #392B6C #503D98 #6C57BB #9282CD

Accessibility & contrast

On white

8.53
#503D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#503D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503D98
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503D98#FFFFFF#000000##FFFFFF
##503D981.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#395264
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #503d98;
/* rgb */ color: rgb(80, 61, 152);
/* oklch */ color: oklch(43.1% 0.143 288.6);
Tailwind
colors: {
  custom: {
    50: '#8773b7',
    500: '#503d98',
    950: '#000000',
  },
}
SCSS
$custom: #503d98;
$custom-light: #8773b7;
$custom-dark: #000000;
JSON
{
  "hex": "#503d98",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 252.527,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.14251,
    "h": 288.6
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#503D98
secondary
#AAB77A
accent
#D355B8
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503D98

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

Preview Lab → · Contrast checker → · Palette generator →

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