#503A99#503A99

#503A99 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.7% C 0.148 H 289.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#503A99
RGBrgb(80, 58, 153)
HSLhsl(254, 45%, 41%)
HSVhsv(254, 62%, 60%)
CMYKcmyk(47.7%, 62.1%, 0%, 40%)
CIE-LABlab(31.88, 34.07, -48.93)
CIE-LCHlch(31.88, 59.62, 304.85°)
OKLaboklab(42.71% 0.0488 -0.1399)
OKLCHoklch(42.71% 0.148 289.2)
XYZxyz(10.5695, 7.0311, 30.9310)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503A99 #83993A
analogous
#3A5499 #503A99 #803A99
triadic
#503A99 #99503A #3A9950
tetradic
#503A99 #993A54 #83993A #3A9980
square
#503A99 #993A54 #83993A #3A9980
split-complementary
#503A99 #99803A #54993A
monochromatic
#221840 #39296D #503A99 #6B53BE #917FCE

Accessibility & contrast

On white

8.73
#503A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#503A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503A99
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503A99#FFFFFF#000000##FFFFFF
##503A991.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#395064
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #503a99;
/* rgb */ color: rgb(80, 58, 153);
/* oklch */ color: oklch(42.7% 0.148 289.2);
Tailwind
colors: {
  custom: {
    50: '#8771b8',
    500: '#503a99',
    950: '#000000',
  },
}
SCSS
$custom: #503a99;
$custom-light: #8771b8;
$custom-dark: #000000;
JSON
{
  "hex": "#503a99",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 253.895,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.14814,
    "h": 289.2
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#503A99
secondary
#A9B877
accent
#D553B7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #503A99

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

Preview Lab → · Contrast checker → · Palette generator →

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