#503CAA#503CAA

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

Color values

HEX#503CAA
RGBrgb(80, 60, 170)
HSLhsl(251, 48%, 45%)
HSVhsv(251, 65%, 67%)
CMYKcmyk(52.9%, 64.7%, 0%, 33.3%)
CIE-LABlab(33.64, 38.08, -56.31)
CIE-LCHlch(33.64, 67.98, 304.07°)
OKLaboklab(44.41% 0.0453 -0.1616)
OKLCHoklch(44.41% 0.168 285.7)
XYZxyz(12.1777, 7.8388, 38.8938)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CAA #96AA3C
analogous
#3C5FAA #503CAA #873CAA
triadic
#503CAA #AA503C #3CAA50
tetradic
#503CAA #AA3C5F #96AA3C #3CAA87
square
#503CAA #AA3C5F #96AA3C #3CAA87
split-complementary
#503CAA #AA873C #5FAA3C
monochromatic
#251C50 #3B2C7D #503CAA #705DC6 #988BD6

Accessibility & contrast

On white

8.18
#503CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503CAA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CAA#FFFFFF#000000##FFFFFF
##503CAA1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #503caa;
/* rgb */ color: rgb(80, 60, 170);
/* oklch */ color: oklch(44.4% 0.168 285.7);
Tailwind
colors: {
  custom: {
    50: '#8973c4',
    500: '#503caa',
    950: '#000000',
  },
}
SCSS
$custom: #503caa;
$custom-light: #8973c4;
$custom-dark: #000000;
JSON
{
  "hex": "#503caa",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 250.909,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44414,
    "c": 0.16781,
    "h": 285.7
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#503CAA
secondary
#B5C081
accent
#D750BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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