#503A98#503A98

#503A98 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.6% C 0.147 H 289.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#503A98
RGBrgb(80, 58, 152)
HSLhsl(254, 45%, 41%)
HSVhsv(254, 62%, 60%)
CMYKcmyk(47.4%, 61.8%, 0%, 40.4%)
CIE-LABlab(31.80, 33.77, -48.44)
CIE-LCHlch(31.80, 59.05, 304.88°)
OKLaboklab(42.64% 0.0489 -0.1384)
OKLCHoklch(42.64% 0.147 289.5)
XYZxyz(10.4872, 6.9982, 30.4979)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A98 #82983A
analogous
#3A5398 #503A98 #7F3A98
triadic
#503A98 #98503A #3A9850
tetradic
#503A98 #983A53 #82983A #3A987F
square
#503A98 #983A53 #82983A #3A987F
split-complementary
#503A98 #987F3A #53983A
monochromatic
#21183F #39296C #503A98 #6B52BD #917ECE

Accessibility & contrast

On white

8.75
#503A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#503A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A98
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A98#FFFFFF#000000##FFFFFF
##503A981.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#395063
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503a98;
/* rgb */ color: rgb(80, 58, 152);
/* oklch */ color: oklch(42.6% 0.147 289.5);
Tailwind
colors: {
  custom: {
    50: '#8771b7',
    500: '#503a98',
    950: '#000000',
  },
}
SCSS
$custom: #503a98;
$custom-light: #8771b7;
$custom-dark: #000000;
JSON
{
  "hex": "#503a98",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 254.043,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.14681,
    "h": 289.5
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#503A98
secondary
#A8B876
accent
#D453B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503A98

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

Preview Lab → · Contrast checker → · Palette generator →

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