#503BB8#503BB8

#503BB8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.5% C 0.187 H 283.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#503BB8
RGBrgb(80, 59, 184)
HSLhsl(250, 51%, 48%)
HSVhsv(250, 68%, 72%)
CMYKcmyk(56.5%, 67.9%, 0%, 27.8%)
CIE-LABlab(34.59, 42.97, -63.10)
CIE-LCHlch(34.59, 76.34, 304.25°)
OKLaboklab(45.45% 0.0445 -0.1815)
OKLCHoklch(45.45% 0.187 283.8)
XYZxyz(13.5213, 8.2933, 46.2264)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB8 #A3B83B
analogous
#3B65B8 #503BB8 #8E3BB8
triadic
#503BB8 #B8503B #3BB850
tetradic
#503BB8 #B83B65 #A3B83B #3BB88E
square
#503BB8 #B83B65 #A3B83B #3BB88E
split-complementary
#503BB8 #B88E3B #65B83B
monochromatic
#281D5B #3C2C8A #503BB8 #7563CD #9E92DC

Accessibility & contrast

On white

7.90
#503BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#503BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB8#FFFFFF#000000##FFFFFF
##503BB81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#1C5B75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503bb8;
/* rgb */ color: rgb(80, 59, 184);
/* oklch */ color: oklch(45.5% 0.187 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c73ce',
    500: '#503bb8',
    950: '#000000',
  },
}
SCSS
$custom: #503bb8;
$custom-light: #8c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb8",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 250.08,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45454,
    "c": 0.18687,
    "h": 283.8
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#503BB8
secondary
#BCC788
accent
#DB4DC3
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #503BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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