#5D437E#5D437E

#5D437E is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.8% C 0.098 H 302.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5D437E
RGBrgb(93, 67, 126)
HSLhsl(266, 31%, 38%)
HSVhsv(266, 47%, 49%)
CMYKcmyk(26.2%, 46.8%, 0%, 50.6%)
CIE-LABlab(33.66, 24.21, -29.39)
CIE-LCHlch(33.66, 38.07, 309.48°)
OKLaboklab(43.8% 0.0532 -0.0822)
OKLCHoklch(43.8% 0.098 302.9)
XYZxyz(10.2864, 7.8478, 20.7075)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D437E #647E43
analogous
#43467E #5D437E #7A437E
triadic
#5D437E #7E5D43 #437E5D
tetradic
#5D437E #7E4346 #647E43 #437E7A
square
#5D437E #7E4346 #647E43 #437E7A
split-complementary
#5D437E #7E7A43 #467E43
monochromatic
#22192E #402E56 #5D437E #7A58A6 #9A80BB

Accessibility & contrast

On white

8.17
#5D437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5D437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D437E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D437E#FFFFFF#000000##FFFFFF
##5D437E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#574D5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d437e;
/* rgb */ color: rgb(93, 67, 126);
/* oklch */ color: oklch(43.8% 0.098 302.9);
Tailwind
colors: {
  custom: {
    50: '#8c77a3',
    500: '#5d437e',
    950: '#000000',
  },
}
SCSS
$custom: #5d437e;
$custom-light: #8c77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d437e",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 266.441,
    "s": 30.57,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.0979,
    "h": 302.9
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#5D437E
secondary
#91A676
accent
#C7619A
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #5D437E

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

Preview Lab → · Contrast checker → · Palette generator →

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