#5D4480#5D4480

#5D4480 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.1% C 0.099 H 301.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5D4480
RGBrgb(93, 68, 128)
HSLhsl(265, 31%, 38%)
HSVhsv(265, 47%, 50%)
CMYKcmyk(27.3%, 46.9%, 0%, 49.8%)
CIE-LABlab(34.02, 24.11, -30.06)
CIE-LCHlch(34.02, 38.54, 308.74°)
OKLaboklab(44.11% 0.052 -0.0841)
OKLCHoklch(44.11% 0.099 301.7)
XYZxyz(10.4767, 8.0199, 21.4139)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4480 #678044
analogous
#444980 #5D4480 #7B4480
triadic
#5D4480 #805D44 #44805D
tetradic
#5D4480 #804449 #678044 #44807B
square
#5D4480 #804449 #678044 #44807B
split-complementary
#5D4480 #807B44 #498044
monochromatic
#231A30 #402F58 #5D4480 #7A5AA7 #9A82BD

Accessibility & contrast

On white

8.06
#5D4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5D4480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4480
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4480#FFFFFF#000000##FFFFFF
##5D44801.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335082
Deuteranopia (green-blind)
#39507E
Tritanopia (blue-blind)
#574E5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d4480;
/* rgb */ color: rgb(93, 68, 128);
/* oklch */ color: oklch(44.1% 0.099 301.7);
Tailwind
colors: {
  custom: {
    50: '#8c78a5',
    500: '#5d4480',
    950: '#000000',
  },
}
SCSS
$custom: #5d4480;
$custom-light: #8c78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4480",
  "rgb": {
    "r": 93,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 265,
    "s": 30.612,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.09892,
    "h": 301.7
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#5D4480
secondary
#94A878
accent
#C7619C
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #5D4480

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

Preview Lab → · Contrast checker → · Palette generator →

#5D4480 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva