#503299#503299

#503299 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.159 H 291.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#503299
RGBrgb(80, 50, 153)
HSLhsl(257, 51%, 40%)
HSVhsv(257, 67%, 60%)
CMYKcmyk(47.7%, 67.3%, 0%, 40%)
CIE-LABlab(30.12, 38.78, -51.78)
CIE-LCHlch(30.12, 64.69, 306.83°)
OKLaboklab(41.44% 0.0577 -0.1482)
OKLCHoklch(41.44% 0.159 291.3)
XYZxyz(10.1970, 6.2862, 30.8069)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503299 #7B9932
analogous
#324799 #503299 #843299
triadic
#503299 #995032 #329950
tetradic
#503299 #993247 #7B9932 #329984
square
#503299 #993247 #7B9932 #329984
split-complementary
#503299 #998432 #479932
monochromatic
#20143D #38236B #503299 #6A46C2 #8F74D2

Accessibility & contrast

On white

9.30
#503299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#503299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503299
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503299#FFFFFF#000000##FFFFFF
##5032991.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#394B61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #503299;
/* rgb */ color: rgb(80, 50, 153);
/* oklch */ color: oklch(41.4% 0.159 291.3);
Tailwind
colors: {
  custom: {
    50: '#886cb8',
    500: '#503299',
    950: '#000000',
  },
}
SCSS
$custom: #503299;
$custom-light: #886cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#503299",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 257.476,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.15906,
    "h": 291.3
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#503299
secondary
#A3BA6D
accent
#DA4EB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503299

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

Preview Lab → · Contrast checker → · Palette generator →

#503299 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva