#503C98#503C98

#503C98 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.0% C 0.144 H 288.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#503C98
RGBrgb(80, 60, 152)
HSLhsl(253, 43%, 42%)
HSVhsv(253, 61%, 60%)
CMYKcmyk(47.4%, 60.5%, 0%, 40.4%)
CIE-LABlab(32.27, 32.55, -47.69)
CIE-LCHlch(32.27, 57.74, 304.32°)
OKLaboklab(42.97% 0.0466 -0.1362)
OKLCHoklch(42.97% 0.144 288.9)
XYZxyz(10.5900, 7.2038, 30.5322)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503C98 #84983C
analogous
#3C5698 #503C98 #7E3C98
triadic
#503C98 #98503C #3C9850
tetradic
#503C98 #983C56 #84983C #3C987E
square
#503C98 #983C56 #84983C #3C987E
split-complementary
#503C98 #987E3C #56983C
monochromatic
#221940 #392B6C #503C98 #6C55BC #9281CD

Accessibility & contrast

On white

8.60
#503C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#503C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503C98
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503C98#FFFFFF#000000##FFFFFF
##503C981.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503c98;
/* rgb */ color: rgb(80, 60, 152);
/* oklch */ color: oklch(43.0% 0.144 288.9);
Tailwind
colors: {
  custom: {
    50: '#8772b7',
    500: '#503c98',
    950: '#000000',
  },
}
SCSS
$custom: #503c98;
$custom-light: #8772b7;
$custom-dark: #000000;
JSON
{
  "hex": "#503c98",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 253.043,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.14396,
    "h": 288.9
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503C98

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

Preview Lab → · Contrast checker → · Palette generator →

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