#504367#504367

#504367 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.2% C 0.061 H 300.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#504367
RGBrgb(80, 67, 103)
HSLhsl(262, 21%, 33%)
HSVhsv(262, 35%, 40%)
CMYKcmyk(22.3%, 35%, 0%, 59.6%)
CIE-LABlab(31.11, 13.87, -19.02)
CIE-LCHlch(31.11, 23.54, 306.10°)
OKLaboklab(41.16% 0.0308 -0.0526)
OKLCHoklch(41.16% 0.061 300.3)
XYZxyz(7.7631, 6.6990, 13.7134)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504367 #5A6743
analogous
#434867 #504367 #624367
triadic
#504367 #675043 #436750
tetradic
#504367 #674348 #5A6743 #436762
square
#504367 #674348 #5A6743 #436762
split-complementary
#504367 #676243 #486743
monochromatic
#16131D #332B42 #504367 #6D5B8C #8C7BA9

Accessibility & contrast

On white

8.98
#504367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#504367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504367
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504367#FFFFFF#000000##FFFFFF
##5043671.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4968
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#4C4950
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504367;
/* rgb */ color: rgb(80, 67, 103);
/* oklch */ color: oklch(41.2% 0.061 300.3);
Tailwind
colors: {
  custom: {
    50: '#827792',
    500: '#504367',
    950: '#000000',
  },
}
SCSS
$custom: #504367;
$custom-light: #827792;
$custom-dark: #000000;
JSON
{
  "hex": "#504367",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 103
  },
  "hsl": {
    "h": 261.667,
    "s": 21.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.06092,
    "h": 300.3
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#504367
secondary
#889571
accent
#BE6AA0
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #504367

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

Preview Lab → · Contrast checker → · Palette generator →

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