#504385#504385

#504385 is a dark, moderate violet. Relative luminance 0.074; OKLCH L 42.9% C 0.106 H 290.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#504385
RGBrgb(80, 67, 133)
HSLhsl(252, 33%, 39%)
HSVhsv(252, 50%, 52%)
CMYKcmyk(39.8%, 49.6%, 0%, 47.8%)
CIE-LABlab(32.73, 22.39, -35.29)
CIE-LCHlch(32.73, 41.79, 302.39°)
OKLaboklab(42.91% 0.0368 -0.0998)
OKLCHoklch(42.91% 0.106 290.2)
XYZxyz(9.5479, 7.4130, 23.1135)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504385 #788543
analogous
#435785 #504385 #714385
triadic
#504385 #855043 #438550
tetradic
#504385 #854357 #788543 #438571
square
#504385 #854357 #788543 #438571
split-complementary
#504385 #857143 #578543
monochromatic
#1F1A34 #382E5C #504385 #6A5AAC #8E82C0

Accessibility & contrast

On white

8.46
#504385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504385
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504385#FFFFFF#000000##FFFFFF
##5043851.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504385;
/* rgb */ color: rgb(80, 67, 133);
/* oklch */ color: oklch(42.9% 0.106 290.2);
Tailwind
colors: {
  custom: {
    50: '#8477a9',
    500: '#504385',
    950: '#000000',
  },
}
SCSS
$custom: #504385;
$custom-light: #8477a9;
$custom-dark: #000000;
JSON
{
  "hex": "#504385",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 251.818,
    "s": 33,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.10635,
    "h": 290.2
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#504385
secondary
#A1AB79
accent
#C95FB4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #504385

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

Preview Lab → · Contrast checker → · Palette generator →

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