#503BB1#503BB1

#503BB1 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.178 H 284.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#503BB1
RGBrgb(80, 59, 177)
HSLhsl(251, 50%, 46%)
HSVhsv(251, 67%, 69%)
CMYKcmyk(54.8%, 66.7%, 0%, 30.6%)
CIE-LABlab(34.00, 40.82, -59.91)
CIE-LCHlch(34.00, 72.50, 304.27°)
OKLaboklab(44.85% 0.0455 -0.1721)
OKLCHoklch(44.85% 0.178 284.8)
XYZxyz(12.8056, 8.0070, 42.4572)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB1 #9CB13B
analogous
#3B61B1 #503BB1 #8B3BB1
triadic
#503BB1 #B1503B #3BB150
tetradic
#503BB1 #B13B61 #9CB13B #3BB18B
square
#503BB1 #B13B61 #9CB13B #3BB18B
split-complementary
#503BB1 #B18B3B #61B13B
monochromatic
#271C55 #3B2C83 #503BB1 #725FCA #9B8DD9

Accessibility & contrast

On white

8.07
#503BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#503BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB1#FFFFFF#000000##FFFFFF
##503BB11.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#255971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503bb1;
/* rgb */ color: rgb(80, 59, 177);
/* oklch */ color: oklch(44.8% 0.178 284.8);
Tailwind
colors: {
  custom: {
    50: '#8a72c9',
    500: '#503bb1',
    950: '#000000',
  },
}
SCSS
$custom: #503bb1;
$custom-light: #8a72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb1",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 250.678,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44847,
    "c": 0.17805,
    "h": 284.8
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#503BB1
secondary
#B8C484
accent
#DA4EC1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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