#503BAD#503BAD

#503BAD is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.5% C 0.173 H 285.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#503BAD
RGBrgb(80, 59, 173)
HSLhsl(251, 49%, 45%)
HSVhsv(251, 66%, 68%)
CMYKcmyk(53.8%, 65.9%, 0%, 32.2%)
CIE-LABlab(33.67, 39.59, -58.07)
CIE-LCHlch(33.67, 70.28, 304.29°)
OKLaboklab(44.51% 0.046 -0.1667)
OKLCHoklch(44.51% 0.173 285.4)
XYZxyz(12.4128, 7.8499, 40.3882)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BAD #98AD3B
analogous
#3B5FAD #503BAD #893BAD
triadic
#503BAD #AD503B #3BAD50
tetradic
#503BAD #AD3B5F #98AD3B #3BAD89
square
#503BAD #AD3B5F #98AD3B #3BAD89
split-complementary
#503BAD #AD893B #5FAD3B
monochromatic
#261C52 #3B2B7F #503BAD #715DC8 #998BD7

Accessibility & contrast

On white

8.17
#503BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#503BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BAD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BAD#FFFFFF#000000##FFFFFF
##503BAD1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#29576F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503bad;
/* rgb */ color: rgb(80, 59, 173);
/* oklch */ color: oklch(44.5% 0.173 285.4);
Tailwind
colors: {
  custom: {
    50: '#8a72c6',
    500: '#503bad',
    950: '#000000',
  },
}
SCSS
$custom: #503bad;
$custom-light: #8a72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#503bad",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 251.053,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.17295,
    "h": 285.4
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#503BAD
secondary
#B6C282
accent
#D94FBF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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