#503BAC#503BAC

#503BAC is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.172 H 285.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#503BAC
RGBrgb(80, 59, 172)
HSLhsl(251, 49%, 45%)
HSVhsv(251, 66%, 67%)
CMYKcmyk(53.5%, 65.7%, 0%, 32.5%)
CIE-LABlab(33.59, 39.28, -57.60)
CIE-LCHlch(33.59, 69.72, 304.29°)
OKLaboklab(44.42% 0.0461 -0.1654)
OKLCHoklch(44.42% 0.172 285.6)
XYZxyz(12.3164, 7.8113, 39.8805)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BAC #97AC3B
analogous
#3B5FAC #503BAC #883BAC
triadic
#503BAC #AC503B #3BAC50
tetradic
#503BAC #AC3B5F #97AC3B #3BAC88
square
#503BAC #AC3B5F #97AC3B #3BAC88
split-complementary
#503BAC #AC883B #5FAC3B
monochromatic
#261C51 #3B2B7E #503BAC #715DC7 #998AD7

Accessibility & contrast

On white

8.20
#503BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#503BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BAC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BAC#FFFFFF#000000##FFFFFF
##503BAC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#2A576E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503bac;
/* rgb */ color: rgb(80, 59, 172);
/* oklch */ color: oklch(44.4% 0.172 285.6);
Tailwind
colors: {
  custom: {
    50: '#8a72c6',
    500: '#503bac',
    950: '#000000',
  },
}
SCSS
$custom: #503bac;
$custom-light: #8a72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#503bac",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 251.15,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44422,
    "c": 0.17166,
    "h": 285.6
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#503BAC
secondary
#B6C181
accent
#D84FBF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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