#503BB3#503BB3

#503BB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.181 H 284.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#503BB3
RGBrgb(80, 59, 179)
HSLhsl(251, 50%, 47%)
HSVhsv(251, 67%, 70%)
CMYKcmyk(55.3%, 67%, 0%, 29.8%)
CIE-LABlab(34.16, 41.43, -60.83)
CIE-LCHlch(34.16, 73.60, 304.26°)
OKLaboklab(45.02% 0.0452 -0.1748)
OKLCHoklch(45.02% 0.181 284.5)
XYZxyz(13.0064, 8.0873, 43.5147)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB3 #9EB33B
analogous
#3B62B3 #503BB3 #8C3BB3
triadic
#503BB3 #B3503B #3BB350
tetradic
#503BB3 #B33B62 #9EB33B #3BB38C
square
#503BB3 #B33B62 #9EB33B #3BB38C
split-complementary
#503BB3 #B38C3B #62B33B
monochromatic
#271D57 #3B2C85 #503BB3 #7360CB #9C8EDA

Accessibility & contrast

On white

8.02
#503BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#503BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB3#FFFFFF#000000##FFFFFF
##503BB31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#235972
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503bb3;
/* rgb */ color: rgb(80, 59, 179);
/* oklch */ color: oklch(45.0% 0.181 284.5);
Tailwind
colors: {
  custom: {
    50: '#8b72cb',
    500: '#503bb3',
    950: '#000000',
  },
}
SCSS
$custom: #503bb3;
$custom-light: #8b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb3",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 250.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45019,
    "c": 0.18059,
    "h": 284.5
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#503BB3
secondary
#BAC585
accent
#DA4EC1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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