#503184#503184

#503184 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.134 H 297.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#503184
RGBrgb(80, 49, 132)
HSLhsl(262, 46%, 35%)
HSVhsv(262, 63%, 52%)
CMYKcmyk(39.4%, 62.9%, 0%, 48.2%)
CIE-LABlab(28.30, 33.28, -41.78)
CIE-LCHlch(28.30, 53.42, 308.54°)
OKLaboklab(39.61% 0.0608 -0.1188)
OKLCHoklch(39.61% 0.134 297.1)
XYZxyz(8.5704, 5.5679, 22.4485)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503184 #658431
analogous
#313B84 #503184 #793184
triadic
#503184 #845031 #318450
tetradic
#503184 #84313B #658431 #318479
square
#503184 #84313B #658431 #318479
split-complementary
#503184 #847931 #3B8431
monochromatic
#1A102B #352057 #503184 #6B42B1 #8C68C7

Accessibility & contrast

On white

9.94
#503184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#503184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503184
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503184#FFFFFF#000000##FFFFFF
##5031841.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#0B4282
Tritanopia (blue-blind)
#444355
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #503184;
/* rgb */ color: rgb(80, 49, 132);
/* oklch */ color: oklch(39.6% 0.134 297.1);
Tailwind
colors: {
  custom: {
    50: '#856ba8',
    500: '#503184',
    950: '#000000',
  },
}
SCSS
$custom: #503184;
$custom-light: #856ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#503184",
  "rgb": {
    "r": 80,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 262.41,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.13351,
    "h": 297.1
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#503184
secondary
#92AE62
accent
#D652A5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #503184

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

Preview Lab → · Contrast checker → · Palette generator →

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