#503BA6#503BA6

#503BA6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.164 H 286.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#503BA6
RGBrgb(80, 59, 166)
HSLhsl(252, 48%, 44%)
HSVhsv(252, 64%, 65%)
CMYKcmyk(51.8%, 64.5%, 0%, 34.9%)
CIE-LABlab(33.11, 37.44, -54.79)
CIE-LCHlch(33.11, 66.36, 304.34°)
OKLaboklab(43.92% 0.0467 -0.1571)
OKLCHoklch(43.92% 0.164 286.6)
XYZxyz(11.7531, 7.5860, 36.9139)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503BA6 #91A63B
analogous
#3B5CA6 #503BA6 #863BA6
triadic
#503BA6 #A6503B #3BA650
tetradic
#503BA6 #A63B5C #91A63B #3BA686
square
#503BA6 #A63B5C #91A63B #3BA686
split-complementary
#503BA6 #A6863B #5CA63B
monochromatic
#241B4C #3A2B79 #503BA6 #6F5AC4 #9687D4

Accessibility & contrast

On white

8.34
#503BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#503BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503BA6
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503BA6#FFFFFF#000000##FFFFFF
##503BA61.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#30556B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503ba6;
/* rgb */ color: rgb(80, 59, 166);
/* oklch */ color: oklch(43.9% 0.164 286.6);
Tailwind
colors: {
  custom: {
    50: '#8972c1',
    500: '#503ba6',
    950: '#000000',
  },
}
SCSS
$custom: #503ba6;
$custom-light: #8972c1;
$custom-dark: #000000;
JSON
{
  "hex": "#503ba6",
  "rgb": {
    "r": 80,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 251.776,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.16391,
    "h": 286.6
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#503BA6
secondary
#B2BF7E
accent
#D751BD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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