#503BB2#503BB2

#503BB2 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.179 H 284.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#503BB2
RGBrgb(80, 59, 178)
HSLhsl(251, 50%, 46%)
HSVhsv(251, 67%, 70%)
CMYKcmyk(55.1%, 66.9%, 0%, 30.2%)
CIE-LABlab(34.08, 41.13, -60.37)
CIE-LCHlch(34.08, 73.05, 304.26°)
OKLaboklab(44.93% 0.0453 -0.1735)
OKLCHoklch(44.93% 0.179 284.6)
XYZxyz(12.9057, 8.0470, 42.9840)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB2 #9DB23B
analogous
#3B62B2 #503BB2 #8C3BB2
triadic
#503BB2 #B2503B #3BB250
tetradic
#503BB2 #B23B62 #9DB23B #3BB28C
square
#503BB2 #B23B62 #9DB23B #3BB28C
split-complementary
#503BB2 #B28C3B #62B23B
monochromatic
#271D56 #3B2C84 #503BB2 #7360CA #9B8EDA

Accessibility & contrast

On white

8.05
#503BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#503BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB2#FFFFFF#000000##FFFFFF
##503BB21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#245971
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503bb2;
/* rgb */ color: rgb(80, 59, 178);
/* oklch */ color: oklch(44.9% 0.179 284.6);
Tailwind
colors: {
  custom: {
    50: '#8b72ca',
    500: '#503bb2',
    950: '#000000',
  },
}
SCSS
$custom: #503bb2;
$custom-light: #8b72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb2",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 250.588,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.17932,
    "h": 284.6
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #503BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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