#503CA8#503CA8

#503CA8 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.165 H 286.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#503CA8
RGBrgb(80, 60, 168)
HSLhsl(251, 47%, 45%)
HSVhsv(251, 64%, 66%)
CMYKcmyk(52.4%, 64.3%, 0%, 34.1%)
CIE-LABlab(33.49, 37.46, -55.37)
CIE-LCHlch(33.49, 66.86, 304.08°)
OKLaboklab(44.25% 0.0455 -0.1588)
OKLCHoklch(44.25% 0.165 286)
XYZxyz(11.9899, 7.7637, 37.9050)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CA8 #94A83C
analogous
#3C5EA8 #503CA8 #863CA8
triadic
#503CA8 #A8503C #3CA850
tetradic
#503CA8 #A83C5E #94A83C #3CA886
square
#503CA8 #A83C5E #94A83C #3CA886
split-complementary
#503CA8 #A8863C #5EA83C
monochromatic
#251C4E #3B2C7B #503CA8 #705CC5 #9789D5

Accessibility & contrast

On white

8.23
#503CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503CA8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CA8#FFFFFF#000000##FFFFFF
##503CA81.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#2E566C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503ca8;
/* rgb */ color: rgb(80, 60, 168);
/* oklch */ color: oklch(44.2% 0.165 286.0);
Tailwind
colors: {
  custom: {
    50: '#8973c3',
    500: '#503ca8',
    950: '#000000',
  },
}
SCSS
$custom: #503ca8;
$custom-light: #8973c3;
$custom-dark: #000000;
JSON
{
  "hex": "#503ca8",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 251.111,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.1652,
    "h": 286
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#503CA8
secondary
#B4BF80
accent
#D751BE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #503CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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