#503BAE#503BAE

#503BAE is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.174 H 285.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#503BAE
RGBrgb(80, 59, 174)
HSLhsl(251, 49%, 46%)
HSVhsv(251, 66%, 68%)
CMYKcmyk(54%, 66.1%, 0%, 31.8%)
CIE-LABlab(33.75, 39.90, -58.53)
CIE-LCHlch(33.75, 70.83, 304.28°)
OKLaboklab(44.59% 0.0459 -0.1681)
OKLCHoklch(44.59% 0.174 285.3)
XYZxyz(12.5099, 7.8887, 40.8997)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BAE #99AE3B
analogous
#3B5FAE #503BAE #893BAE
triadic
#503BAE #AE503B #3BAE50
tetradic
#503BAE #AE3B5F #99AE3B #3BAE89
square
#503BAE #AE3B5F #99AE3B #3BAE89
split-complementary
#503BAE #AE893B #5FAE3B
monochromatic
#261C53 #3B2C80 #503BAE #715EC8 #998CD8

Accessibility & contrast

On white

8.15
#503BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#503BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BAE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BAE#FFFFFF#000000##FFFFFF
##503BAE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#28586F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503bae;
/* rgb */ color: rgb(80, 59, 174);
/* oklch */ color: oklch(44.6% 0.174 285.3);
Tailwind
colors: {
  custom: {
    50: '#8a72c7',
    500: '#503bae',
    950: '#000000',
  },
}
SCSS
$custom: #503bae;
$custom-light: #8a72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#503bae",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 250.957,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.17423,
    "h": 285.3
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#503BAE
secondary
#B7C282
accent
#D94FC0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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