#5D497E#5D497E

#5D497E is a dark, moderate violet. Relative luminance 0.086; OKLCH L 45.0% C 0.087 H 300.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5D497E
RGBrgb(93, 73, 126)
HSLhsl(263, 27%, 39%)
HSVhsv(263, 42%, 49%)
CMYKcmyk(26.2%, 42.1%, 0%, 50.6%)
CIE-LABlab(35.20, 20.45, -26.97)
CIE-LCHlch(35.20, 33.85, 307.17°)
OKLaboklab(44.96% 0.044 -0.0752)
OKLCHoklch(44.96% 0.087 300.3)
XYZxyz(10.6618, 8.5986, 20.8326)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D497E #6A7E49
analogous
#49507E #5D497E #78497E
triadic
#5D497E #7E5D49 #497E5D
tetradic
#5D497E #7E4950 #6A7E49 #497E78
square
#5D497E #7E4950 #6A7E49 #497E78
split-complementary
#5D497E #7E7849 #507E49
monochromatic
#241C31 #403357 #5D497E #7A61A3 #9B88BA

Accessibility & contrast

On white

7.72
#5D497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5D497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D497E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D497E#FFFFFF#000000##FFFFFF
##5D497E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#3F527D
Tritanopia (blue-blind)
#57525D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d497e;
/* rgb */ color: rgb(93, 73, 126);
/* oklch */ color: oklch(45.0% 0.087 300.3);
Tailwind
colors: {
  custom: {
    50: '#8c7ca3',
    500: '#5d497e',
    950: '#000000',
  },
}
SCSS
$custom: #5d497e;
$custom-light: #8c7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d497e",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 262.642,
    "s": 26.633,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.08712,
    "h": 300.3
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#5D497E
secondary
#96A67D
accent
#C3659F
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #5D497E

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

Preview Lab → · Contrast checker → · Palette generator →

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