#503BB0#503BB0

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

Color values

HEX#503BB0
RGBrgb(80, 59, 176)
HSLhsl(251, 50%, 46%)
HSVhsv(251, 66%, 69%)
CMYKcmyk(54.5%, 66.5%, 0%, 31%)
CIE-LABlab(33.91, 40.51, -59.45)
CIE-LCHlch(33.91, 71.94, 304.27°)
OKLaboklab(44.76% 0.0456 -0.1708)
OKLCHoklch(44.76% 0.177 284.9)
XYZxyz(12.7063, 7.9673, 41.9342)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BB0 #9BB03B
analogous
#3B60B0 #503BB0 #8A3BB0
triadic
#503BB0 #B0503B #3BB050
tetradic
#503BB0 #B03B60 #9BB03B #3BB08A
square
#503BB0 #B03B60 #9BB03B #3BB08A
split-complementary
#503BB0 #B08A3B #60B03B
monochromatic
#261C54 #3B2C82 #503BB0 #725FC9 #9A8DD9

Accessibility & contrast

On white

8.10
#503BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#503BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BB0
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BB0#FFFFFF#000000##FFFFFF
##503BB01.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#265870
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503bb0;
/* rgb */ color: rgb(80, 59, 176);
/* oklch */ color: oklch(44.8% 0.177 284.9);
Tailwind
colors: {
  custom: {
    50: '#8a72c9',
    500: '#503bb0',
    950: '#000000',
  },
}
SCSS
$custom: #503bb0;
$custom-light: #8a72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#503bb0",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 250.769,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.17678,
    "h": 284.9
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#503BB0
secondary
#B8C383
accent
#D94EC0
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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