#504379#504379

#504379 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.088 H 293.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#504379
RGBrgb(80, 67, 121)
HSLhsl(254, 29%, 37%)
HSVhsv(254, 45%, 47%)
CMYKcmyk(33.9%, 44.6%, 0%, 52.5%)
CIE-LABlab(32.03, 18.86, -28.93)
CIE-LCHlch(32.03, 34.54, 303.10°)
OKLaboklab(42.16% 0.035 -0.0812)
OKLCHoklch(42.16% 0.088 293.3)
XYZxyz(8.7657, 7.1001, 18.9941)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504379 #6C7943
analogous
#435179 #504379 #6B4379
triadic
#504379 #795043 #437950
tetradic
#504379 #794351 #6C7943 #43796B
square
#504379 #794351 #6C7943 #43796B
split-complementary
#504379 #796B43 #517943
monochromatic
#1C172A #362D52 #504379 #6A59A0 #8C7FB8

Accessibility & contrast

On white

8.68
#504379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#504379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504379
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504379#FFFFFF#000000##FFFFFF
##5043791.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#344A78
Tritanopia (blue-blind)
#474D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504379;
/* rgb */ color: rgb(80, 67, 121);
/* oklch */ color: oklch(42.2% 0.088 293.3);
Tailwind
colors: {
  custom: {
    50: '#8377a0',
    500: '#504379',
    950: '#000000',
  },
}
SCSS
$custom: #504379;
$custom-light: #8377a0;
$custom-dark: #000000;
JSON
{
  "hex": "#504379",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 121
  },
  "hsl": {
    "h": 254.444,
    "s": 28.723,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.08843,
    "h": 293.3
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#504379
secondary
#98A375
accent
#C563AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #504379

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

Preview Lab → · Contrast checker → · Palette generator →

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