#504372#504372

#504372 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.8% C 0.078 H 295.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#504372
RGBrgb(80, 67, 114)
HSLhsl(257, 26%, 35%)
HSVhsv(257, 41%, 45%)
CMYKcmyk(29.8%, 41.2%, 0%, 55.3%)
CIE-LABlab(31.66, 16.87, -25.13)
CIE-LCHlch(31.66, 30.27, 303.87°)
OKLaboklab(41.75% 0.0336 -0.0702)
OKLCHoklch(41.75% 0.078 295.6)
XYZxyz(8.3519, 6.9346, 16.8148)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504372 #657243
analogous
#434D72 #504372 #674372
triadic
#504372 #725043 #437250
tetradic
#504372 #72434D #657243 #437267
square
#504372 #72434D #657243 #437267
split-complementary
#504372 #726743 #4D7243
monochromatic
#1A1625 #352C4B #504372 #6B5A99 #8C7DB3

Accessibility & contrast

On white

8.80
#504372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#504372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504372
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504372#FFFFFF#000000##FFFFFF
##5043721.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#494B55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504372;
/* rgb */ color: rgb(80, 67, 114);
/* oklch */ color: oklch(41.8% 0.078 295.6);
Tailwind
colors: {
  custom: {
    50: '#82779b',
    500: '#504372',
    950: '#000000',
  },
}
SCSS
$custom: #504372;
$custom-light: #82779b;
$custom-dark: #000000;
JSON
{
  "hex": "#504372",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 256.596,
    "s": 25.967,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.07779,
    "h": 295.6
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#504372
secondary
#929E73
accent
#C265A9
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #504372

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

Preview Lab → · Contrast checker → · Palette generator →

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