#503296#503296

#503296 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.155 H 292.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#503296
RGBrgb(80, 50, 150)
HSLhsl(258, 50%, 39%)
HSVhsv(258, 67%, 59%)
CMYKcmyk(46.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(29.88, 37.90, -50.33)
CIE-LCHlch(29.88, 63.00, 306.98°)
OKLaboklab(41.19% 0.0581 -0.144)
OKLCHoklch(41.19% 0.155 292)
XYZxyz(9.9524, 6.1884, 29.5183)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503296 #789632
analogous
#324696 #503296 #823296
triadic
#503296 #965032 #329650
tetradic
#503296 #963246 #789632 #329682
square
#503296 #963246 #789632 #329682
split-complementary
#503296 #968232 #469632
monochromatic
#1F133A #382368 #503296 #6A44C1 #8E72D0

Accessibility & contrast

On white

9.38
#503296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#503296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503296
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503296#FFFFFF#000000##FFFFFF
##5032961.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#3B4A5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #503296;
/* rgb */ color: rgb(80, 50, 150);
/* oklch */ color: oklch(41.2% 0.155 292.0);
Tailwind
colors: {
  custom: {
    50: '#876cb6',
    500: '#503296',
    950: '#000000',
  },
}
SCSS
$custom: #503296;
$custom-light: #876cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#503296",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 258,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.15526,
    "h": 292
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#503296
secondary
#A1B86C
accent
#DA4EB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #503296

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

Preview Lab → · Contrast checker → · Palette generator →

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