#503EA0#503EA0

#503EA0 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.9% C 0.152 H 286.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#503EA0
RGBrgb(80, 62, 160)
HSLhsl(251, 44%, 44%)
HSVhsv(251, 61%, 63%)
CMYKcmyk(50%, 61.2%, 0%, 37.3%)
CIE-LABlab(33.33, 33.79, -50.82)
CIE-LCHlch(33.33, 61.03, 303.62°)
OKLaboklab(43.94% 0.044 -0.1454)
OKLCHoklch(43.94% 0.152 286.8)
XYZxyz(11.3742, 7.6883, 34.1356)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503EA0 #8EA03E
analogous
#3E5DA0 #503EA0 #813EA0
triadic
#503EA0 #A0503E #3EA050
tetradic
#503EA0 #A03E5D #8EA03E #3EA081
square
#503EA0 #A03E5D #8EA03E #3EA081
split-complementary
#503EA0 #A0813E #5DA03E
monochromatic
#241C48 #3A2D74 #503EA0 #6E5CC0 #9588D1

Accessibility & contrast

On white

8.27
#503EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#503EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503EA0
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503EA0#FFFFFF#000000##FFFFFF
##503EA01.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#345569
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503ea0;
/* rgb */ color: rgb(80, 62, 160);
/* oklch */ color: oklch(43.9% 0.152 286.8);
Tailwind
colors: {
  custom: {
    50: '#8874bd',
    500: '#503ea0',
    950: '#000000',
  },
}
SCSS
$custom: #503ea0;
$custom-light: #8874bd;
$custom-dark: #000000;
JSON
{
  "hex": "#503ea0",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 251.02,
    "s": 44.144,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.15193,
    "h": 286.8
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#503EA0
secondary
#B0BB7F
accent
#D454BC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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