#503CB0#503CB0

#503CB0 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.176 H 284.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#503CB0
RGBrgb(80, 60, 176)
HSLhsl(250, 49%, 46%)
HSVhsv(250, 66%, 69%)
CMYKcmyk(54.5%, 65.9%, 0%, 31%)
CIE-LABlab(34.13, 39.93, -59.10)
CIE-LCHlch(34.13, 71.32, 304.04°)
OKLaboklab(44.92% 0.0447 -0.1698)
OKLCHoklch(44.92% 0.176 284.7)
XYZxyz(12.7582, 8.0711, 41.9515)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB0 #9CB03C
analogous
#3C62B0 #503CB0 #8A3CB0
triadic
#503CB0 #B0503C #3CB050
tetradic
#503CB0 #B03C62 #9CB03C #3CB08A
square
#503CB0 #B03C62 #9CB03C #3CB08A
split-complementary
#503CB0 #B08A3C #62B03C
monochromatic
#271D55 #3B2C82 #503CB0 #7260C9 #9B8ED8

Accessibility & contrast

On white

8.03
#503CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503CB0
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB0#FFFFFF#000000##FFFFFF
##503CB01.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#265970
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #503cb0;
/* rgb */ color: rgb(80, 60, 176);
/* oklch */ color: oklch(44.9% 0.176 284.7);
Tailwind
colors: {
  custom: {
    50: '#8a73c8',
    500: '#503cb0',
    950: '#000000',
  },
}
SCSS
$custom: #503cb0;
$custom-light: #8a73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb0",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 250.345,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44918,
    "c": 0.17553,
    "h": 284.7
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#503CB0
secondary
#B8C385
accent
#D94FC1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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