#503BB6#503BB6

#503BB6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.184 H 284.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#503BB6
RGBrgb(80, 59, 182)
HSLhsl(250, 51%, 47%)
HSVhsv(250, 68%, 71%)
CMYKcmyk(56%, 67.6%, 0%, 28.6%)
CIE-LABlab(34.42, 42.36, -62.19)
CIE-LCHlch(34.42, 75.25, 304.26°)
OKLaboklab(45.28% 0.0448 -0.1788)
OKLCHoklch(45.28% 0.184 284.1)
XYZxyz(13.3132, 8.2100, 45.1301)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB6 #A1B63B
analogous
#3B64B6 #503BB6 #8E3BB6
triadic
#503BB6 #B6503B #3BB650
tetradic
#503BB6 #B63B64 #A1B63B #3BB68E
square
#503BB6 #B63B64 #A1B63B #3BB68E
split-complementary
#503BB6 #B68E3B #64B63B
monochromatic
#271D5A #3C2C88 #503BB6 #7462CC #9D90DB

Accessibility & contrast

On white

7.95
#503BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#503BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB6#FFFFFF#000000##FFFFFF
##503BB61.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#1F5B73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503bb6;
/* rgb */ color: rgb(80, 59, 182);
/* oklch */ color: oklch(45.3% 0.184 284.1);
Tailwind
colors: {
  custom: {
    50: '#8b73cd',
    500: '#503bb6',
    950: '#000000',
  },
}
SCSS
$custom: #503bb6;
$custom-light: #8b73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb6",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 250.244,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45279,
    "c": 0.18437,
    "h": 284.1
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#503BB6
secondary
#BBC687
accent
#DB4DC2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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