#503ABD#503ABD

#503ABD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.194 H 283.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#503ABD
RGBrgb(80, 58, 189)
HSLhsl(250, 53%, 48%)
HSVhsv(250, 69%, 74%)
CMYKcmyk(57.7%, 69.3%, 0%, 25.9%)
CIE-LABlab(34.81, 45.06, -65.68)
CIE-LCHlch(34.81, 79.65, 304.46°)
OKLaboklab(45.75% 0.0446 -0.1891)
OKLCHoklch(45.75% 0.194 283.3)
XYZxyz(14.0038, 8.4048, 49.0186)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503ABD #A7BD3A
analogous
#3A66BD #503ABD #913ABD
triadic
#503ABD #BD503A #3ABD50
tetradic
#503ABD #BD3A66 #A7BD3A #3ABD91
square
#503ABD #BD3A66 #A7BD3A #3ABD91
split-complementary
#503ABD #BD913A #66BD3A
monochromatic
#281D5F #3C2C8E #503ABD #7765D0 #A093DE

Accessibility & contrast

On white

7.83
#503ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#503ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503ABD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503ABD#FFFFFF#000000##FFFFFF
##503ABD1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#135C77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #503abd;
/* rgb */ color: rgb(80, 58, 189);
/* oklch */ color: oklch(45.7% 0.194 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c72d2',
    500: '#503abd',
    950: '#000000',
  },
}
SCSS
$custom: #503abd;
$custom-light: #8c72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#503abd",
  "rgb": {
    "r": 80,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 250.076,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.19424,
    "h": 283.3
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#503ABD
secondary
#BFC98A
accent
#DC4BC4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #503ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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