#503BAA#503BAA

#503BAA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.3% C 0.169 H 285.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#503BAA
RGBrgb(80, 59, 170)
HSLhsl(251, 48%, 45%)
HSVhsv(251, 65%, 67%)
CMYKcmyk(52.9%, 65.3%, 0%, 33.3%)
CIE-LABlab(33.42, 38.67, -56.67)
CIE-LCHlch(33.42, 68.61, 304.31°)
OKLaboklab(44.26% 0.0463 -0.1626)
OKLCHoklch(44.26% 0.169 285.9)
XYZxyz(12.1258, 7.7351, 38.8765)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BAA #95AA3B
analogous
#3B5EAA #503BAA #873BAA
triadic
#503BAA #AA503B #3BAA50
tetradic
#503BAA #AA3B5E #95AA3B #3BAA87
square
#503BAA #AA3B5E #95AA3B #3BAA87
split-complementary
#503BAA #AA873B #5EAA3B
monochromatic
#251B4F #3B2B7D #503BAA #705CC6 #9889D6

Accessibility & contrast

On white

8.24
#503BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#503BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BAA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BAA#FFFFFF#000000##FFFFFF
##503BAA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#2C566D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503baa;
/* rgb */ color: rgb(80, 59, 170);
/* oklch */ color: oklch(44.3% 0.169 285.9);
Tailwind
colors: {
  custom: {
    50: '#8972c4',
    500: '#503baa',
    950: '#000000',
  },
}
SCSS
$custom: #503baa;
$custom-light: #8972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#503baa",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 251.351,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44255,
    "c": 0.1691,
    "h": 285.9
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#503BAA
secondary
#B4C080
accent
#D850BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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