#503DAF#503DAF

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

Color values

HEX#503DAF
RGBrgb(80, 61, 175)
HSLhsl(250, 48%, 46%)
HSVhsv(250, 65%, 69%)
CMYKcmyk(54.3%, 65.1%, 0%, 31.4%)
CIE-LABlab(34.27, 39.03, -58.28)
CIE-LCHlch(34.27, 70.14, 303.81°)
OKLaboklab(44.99% 0.0438 -0.1674)
OKLCHoklch(44.99% 0.173 284.7)
XYZxyz(12.7125, 8.1374, 41.4499)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503DAF #9CAF3D
analogous
#3D63AF #503DAF #893DAF
triadic
#503DAF #AF503D #3DAF50
tetradic
#503DAF #AF3D63 #9CAF3D #3DAF89
square
#503DAF #AF3D63 #9CAF3D #3DAF89
split-complementary
#503DAF #AF893D #63AF3D
monochromatic
#271D54 #3B2D82 #503DAF #7261C8 #9B8FD8

Accessibility & contrast

On white

7.99
#503DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #503DAF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503DAF#FFFFFF#000000##FFFFFF
##503DAF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#275970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #503daf;
/* rgb */ color: rgb(80, 61, 175);
/* oklch */ color: oklch(45.0% 0.173 284.7);
Tailwind
colors: {
  custom: {
    50: '#8a74c8',
    500: '#503daf',
    950: '#000000',
  },
}
SCSS
$custom: #503daf;
$custom-light: #8a74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#503daf",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 250,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.173,
    "h": 284.7
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#503DAF
secondary
#B8C385
accent
#D850C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #503DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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