#503AAA#503AAA

#503AAA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.170 H 286.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#503AAA
RGBrgb(80, 58, 170)
HSLhsl(252, 49%, 45%)
HSVhsv(252, 66%, 67%)
CMYKcmyk(52.9%, 65.9%, 0%, 33.3%)
CIE-LABlab(33.21, 39.25, -57.03)
CIE-LCHlch(33.21, 69.23, 304.54°)
OKLaboklab(44.1% 0.0473 -0.1637)
OKLCHoklch(44.1% 0.17 286.1)
XYZxyz(12.0749, 7.6332, 38.8595)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503AAA #94AA3A
analogous
#3A5CAA #503AAA #883AAA
triadic
#503AAA #AA503A #3AAA50
tetradic
#503AAA #AA3A5C #94AA3A #3AAA88
square
#503AAA #AA3A5C #94AA3A #3AAA88
split-complementary
#503AAA #AA883A #5CAA3A
monochromatic
#251B4F #3B2A7C #503AAA #705AC7 #9788D6

Accessibility & contrast

On white

8.31
#503AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#503AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503AAA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503AAA#FFFFFF#000000##FFFFFF
##503AAA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503aaa;
/* rgb */ color: rgb(80, 58, 170);
/* oklch */ color: oklch(44.1% 0.170 286.1);
Tailwind
colors: {
  custom: {
    50: '#8971c4',
    500: '#503aaa',
    950: '#000000',
  },
}
SCSS
$custom: #503aaa;
$custom-light: #8971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#503aaa",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 251.786,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.17037,
    "h": 286.1
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#503AAA
secondary
#B4C17F
accent
#D94FBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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