#503CB2#503CB2

#503CB2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.178 H 284.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#503CB2
RGBrgb(80, 60, 178)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 66%, 70%)
CMYKcmyk(55.1%, 66.3%, 0%, 30.2%)
CIE-LABlab(34.30, 40.55, -60.02)
CIE-LCHlch(34.30, 72.43, 304.04°)
OKLaboklab(45.09% 0.0444 -0.1725)
OKLCHoklch(45.09% 0.178 284.4)
XYZxyz(12.9576, 8.1508, 43.0013)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503CB2 #9EB23C
analogous
#3C63B2 #503CB2 #8B3CB2
triadic
#503CB2 #B2503C #3CB250
tetradic
#503CB2 #B23C63 #9EB23C #3CB28B
square
#503CB2 #B23C63 #9EB23C #3CB28B
split-complementary
#503CB2 #B28B3C #63B23C
monochromatic
#271D56 #3B2D84 #503CB2 #7361CA #9C8FD9

Accessibility & contrast

On white

7.98
#503CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#503CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503CB2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503CB2#FFFFFF#000000##FFFFFF
##503CB21.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#245A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503cb2;
/* rgb */ color: rgb(80, 60, 178);
/* oklch */ color: oklch(45.1% 0.178 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b73ca',
    500: '#503cb2',
    950: '#000000',
  },
}
SCSS
$custom: #503cb2;
$custom-light: #8b73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#503cb2",
  "rgb": {
    "r": 80,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 250.169,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45088,
    "c": 0.1781,
    "h": 284.4
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#503CB2
secondary
#BAC486
accent
#D94FC2
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #503CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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