#504192#504192

#504192 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.4% C 0.128 H 288.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#504192
RGBrgb(80, 65, 146)
HSLhsl(251, 38%, 41%)
HSVhsv(251, 55%, 57%)
CMYKcmyk(45.2%, 55.5%, 0%, 42.7%)
CIE-LABlab(33.05, 27.61, -42.76)
CIE-LCHlch(33.05, 50.90, 302.85°)
OKLaboklab(43.42% 0.0405 -0.1217)
OKLCHoklch(43.42% 0.128 288.4)
XYZxyz(10.3854, 7.5610, 28.1008)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504192 #839241
analogous
#415B92 #504192 #794192
triadic
#504192 #925041 #419250
tetradic
#504192 #92415B #839241 #419279
square
#504192 #92415B #839241 #419279
split-complementary
#504192 #927941 #5B9241
monochromatic
#221B3D #392E68 #504192 #6B5AB6 #9185C9

Accessibility & contrast

On white

8.36
#504192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#504192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504192
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504192#FFFFFF#000000##FFFFFF
##5041921.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185095
Deuteranopia (green-blind)
#194C90
Tritanopia (blue-blind)
#3C5263
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504192;
/* rgb */ color: rgb(80, 65, 146);
/* oklch */ color: oklch(43.4% 0.128 288.4);
Tailwind
colors: {
  custom: {
    50: '#8676b2',
    500: '#504192',
    950: '#000000',
  },
}
SCSS
$custom: #504192;
$custom-light: #8676b2;
$custom-dark: #000000;
JSON
{
  "hex": "#504192",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 251.111,
    "s": 38.389,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.12827,
    "h": 288.4
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#504192
secondary
#A9B37C
accent
#CE59B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #504192

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

Preview Lab → · Contrast checker → · Palette generator →

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