#504194#504194

#504194 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.6% C 0.131 H 288.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#504194
RGBrgb(80, 65, 148)
HSLhsl(251, 39%, 42%)
HSVhsv(251, 56%, 58%)
CMYKcmyk(45.9%, 56.1%, 0%, 42%)
CIE-LABlab(33.19, 28.22, -43.77)
CIE-LCHlch(33.19, 52.08, 302.82°)
OKLaboklab(43.56% 0.0405 -0.1247)
OKLCHoklch(43.56% 0.131 288)
XYZxyz(10.5423, 7.6238, 28.9273)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504194 #859441
analogous
#415C94 #504194 #7A4194
triadic
#504194 #945041 #419450
tetradic
#504194 #94415C #859441 #41947A
square
#504194 #94415C #859441 #41947A
split-complementary
#504194 #947A41 #5C9441
monochromatic
#221C3F #392E69 #504194 #6C5BB7 #9286CA

Accessibility & contrast

On white

8.32
#504194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#504194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504194
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504194#FFFFFF#000000##FFFFFF
##5041941.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#154C92
Tritanopia (blue-blind)
#3B5364
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504194;
/* rgb */ color: rgb(80, 65, 148);
/* oklch */ color: oklch(43.6% 0.131 288.0);
Tailwind
colors: {
  custom: {
    50: '#8676b4',
    500: '#504194',
    950: '#000000',
  },
}
SCSS
$custom: #504194;
$custom-light: #8676b4;
$custom-dark: #000000;
JSON
{
  "hex": "#504194",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 250.843,
    "s": 38.967,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.1311,
    "h": 288
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#504194
secondary
#AAB47C
accent
#CF59BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #504194

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

Preview Lab → · Contrast checker → · Palette generator →

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