#504384#504384

#504384 is a dark, moderate violet. Relative luminance 0.074; OKLCH L 42.8% C 0.105 H 290.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#504384
RGBrgb(80, 67, 132)
HSLhsl(252, 33%, 39%)
HSVhsv(252, 49%, 52%)
CMYKcmyk(39.4%, 49.2%, 0%, 48.2%)
CIE-LABlab(32.67, 22.09, -34.77)
CIE-LCHlch(32.67, 41.19, 302.43°)
OKLaboklab(42.85% 0.0367 -0.0982)
OKLCHoklch(42.85% 0.105 290.5)
XYZxyz(9.4792, 7.3855, 22.7514)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504384 #778443
analogous
#435784 #504384 #714384
triadic
#504384 #845043 #438450
tetradic
#504384 #844357 #778443 #438471
square
#504384 #844357 #778443 #438471
split-complementary
#504384 #847143 #578443
monochromatic
#1F1A33 #372E5B #504384 #6A59AB #8E82C0

Accessibility & contrast

On white

8.48
#504384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#504384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504384
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504384#FFFFFF#000000##FFFFFF
##5043841.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#42505D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504384;
/* rgb */ color: rgb(80, 67, 132);
/* oklch */ color: oklch(42.8% 0.105 290.5);
Tailwind
colors: {
  custom: {
    50: '#8477a8',
    500: '#504384',
    950: '#000000',
  },
}
SCSS
$custom: #504384;
$custom-light: #8477a8;
$custom-dark: #000000;
JSON
{
  "hex": "#504384",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 252,
    "s": 32.663,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.10487,
    "h": 290.5
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#504384
secondary
#A0AA78
accent
#C95FB4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #504384

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

Preview Lab → · Contrast checker → · Palette generator →

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