#503BA5#503BA5

#503BA5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.163 H 286.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#503BA5
RGBrgb(80, 59, 165)
HSLhsl(252, 47%, 44%)
HSVhsv(252, 64%, 65%)
CMYKcmyk(51.5%, 64.2%, 0%, 35.3%)
CIE-LABlab(33.03, 37.13, -54.32)
CIE-LCHlch(33.03, 65.80, 304.36°)
OKLaboklab(43.84% 0.0468 -0.1557)
OKLCHoklch(43.84% 0.163 286.7)
XYZxyz(11.6618, 7.5495, 36.4327)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BA5 #90A53B
analogous
#3B5BA5 #503BA5 #853BA5
triadic
#503BA5 #A5503B #3BA550
tetradic
#503BA5 #A53B5B #90A53B #3BA585
square
#503BA5 #A53B5B #90A53B #3BA585
split-complementary
#503BA5 #A5853B #5BA53B
monochromatic
#241B4B #3A2B78 #503BA5 #6E59C4 #9686D4

Accessibility & contrast

On white

8.37
#503BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#503BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BA5
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BA5#FFFFFF#000000##FFFFFF
##503BA51.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#30556A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503ba5;
/* rgb */ color: rgb(80, 59, 165);
/* oklch */ color: oklch(43.8% 0.163 286.7);
Tailwind
colors: {
  custom: {
    50: '#8972c0',
    500: '#503ba5',
    950: '#000000',
  },
}
SCSS
$custom: #503ba5;
$custom-light: #8972c0;
$custom-dark: #000000;
JSON
{
  "hex": "#503ba5",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 251.887,
    "s": 47.321,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.16261,
    "h": 286.7
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#503BA5
secondary
#B1BE7E
accent
#D751BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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